Runs black
This commit is contained in:
@ -1,11 +1,12 @@
|
||||
''' something has gone amiss '''
|
||||
""" something has gone amiss """
|
||||
from django.template.response import TemplateResponse
|
||||
|
||||
|
||||
def server_error_page(request):
|
||||
''' 500 errors '''
|
||||
return TemplateResponse(request, 'error.html', status=500)
|
||||
""" 500 errors """
|
||||
return TemplateResponse(request, "error.html", status=500)
|
||||
|
||||
|
||||
def not_found_page(request, _):
|
||||
''' 404s '''
|
||||
return TemplateResponse(request, 'notfound.html', status=404)
|
||||
""" 404s """
|
||||
return TemplateResponse(request, "notfound.html", status=404)
|
||||
|
Reference in New Issue
Block a user