fix indentation error

This commit is contained in:
Benjamin Dauvergne 2013-08-29 16:05:37 +02:00
parent 16caa784c2
commit 64e4fc7f53
1 changed files with 6 additions and 6 deletions

View File

@ -16,12 +16,12 @@ class VersionMiddleware:
# copied from http://stackoverflow.com/questions/9294043/include-django-logged-user-in-django-traceback-error
class UserInTracebackMiddleware(object):
"""
Adds user details to request context during request processing, so that they
show up in the error emails. Add to settings.MIDDLEWARE_CLASSES and keep it
outermost(i.e. on top if possible). This allows it to catch exceptions in
other middlewares as well.
"""
"""
Adds user details to request context during request processing, so that they
show up in the error emails. Add to settings.MIDDLEWARE_CLASSES and keep it
outermost(i.e. on top if possible). This allows it to catch exceptions in
other middlewares as well.
"""
def process_exception(self, request, exception):
"""