mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-02 21:39:23 +00:00
9 lines
271 B
Python
9 lines
271 B
Python
"""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")
|