mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-28 09:50:38 +00:00
9 lines
215 B
Python
9 lines
215 B
Python
|
"""custom 500 handler to enable context processors"""
|
||
|
from django.template.response import TemplateResponse
|
||
|
|
||
|
|
||
|
def server_error(request):
|
||
|
"""server error page"""
|
||
|
|
||
|
return TemplateResponse(request, "500.html")
|