~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/request.py

  • Committer: Nick Chadwick
  • Date: 2009-02-26 02:50:42 UTC
  • mto: (1099.1.227 exercise-ui)
  • mto: This revision was merged to the branch mainline in revision 1162.
  • Revision ID: chadnickbok@gmail.com-20090226025042-0e0ktnnfoa7zupiv
added in extra parts to the exercise edit view. Now almost all
parts of an exercise can be edited.

In addition, added a warning message to the exercise view to warn
users it is not currently ready for consumption

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
    def get_session(self):
296
296
        """Returns a mod_python Session object for this request.
297
297
        Note that this is dependent on mod_python and may need to change
298
 
        interface if porting away from mod_python.
299
 
 
300
 
        IMPORTANT: Call unlock() on the session as soon as you are done with
301
 
                   it! If you don't, all other requests will block!
302
 
        """
 
298
        interface if porting away from mod_python."""
303
299
        # Cache the session object and set the timeout to 24 hours.
304
300
        if not hasattr(self, 'session'):
305
301
            self.session = mod_python.Session.FileSession(self.apache_req,