We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3623fe5 commit aa562ceCopy full SHA for aa562ce
vilya/views/__init__.py
@@ -20,10 +20,11 @@
20
21
def _q_exception_handler(request, exception):
22
if isinstance(exception, TraversalError):
23
- error = exception
+ error = exception.title
24
+ current_user = request.user
25
return st('/errors/404.html', **locals())
26
if isinstance(exception, AccessError):
27
28
return st('/errors/401.html', **locals())
29
else:
30
raise exception
0 commit comments