app/soc/middleware/value_store.py
changeset 2906 6fb53ed7aff4
parent 2903 bf17c6a843dd
child 2910 60d56cf01b54
equal deleted inserted replaced
2905:378833eb5a95 2906:6fb53ed7aff4
    48 
    48 
    49     core = callback.getCore()
    49     core = callback.getCore()
    50     core.endRequest(request)
    50     core.endRequest(request)
    51 
    51 
    52   def process_request(self, request):
    52   def process_request(self, request):
       
    53     """Called when a request is made.
       
    54 
       
    55     See the Django middleware documentation for an explanation of
       
    56     the method signature.
       
    57     """
    53     self.start(request)
    58     self.start(request)
    54 
    59 
    55   def process_response(self, request, response):
    60   def process_response(self, request, response):
       
    61     """Called when a response is returned.
       
    62 
       
    63     See the Django middleware documentation for an explanation of
       
    64     the method signature.
       
    65     """
       
    66 
    56     self.end(request)
    67     self.end(request)
    57     return response
    68     return response
    58 
    69 
    59   def process_exception(self, request, exception):
    70   def process_exception(self, request, exception):
       
    71     """Called when an uncaught exception is raised.
       
    72 
       
    73     See the Django middleware documentation for an explanation of
       
    74     the method signature.
       
    75     """
       
    76 
    60     self.end(request)
    77     self.end(request)