make naming consistent
This commit is contained in:
parent
d620bd7350
commit
8ddafafa84
3 changed files with 3 additions and 3 deletions
8
bookwyrm/views/permission_denied.py
Normal file
8
bookwyrm/views/permission_denied.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
"""custom 403 handler to enable context processors"""
|
||||
from django.template.response import TemplateResponse
|
||||
|
||||
|
||||
def permission_denied(request, exception): # pylint: disable=unused-argument
|
||||
"""permission denied page"""
|
||||
|
||||
return TemplateResponse(request, "403.html")
|
Loading…
Add table
Add a link
Reference in a new issue