equal
deleted
inserted
replaced
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) |