Skip to content
Snippets Groups Projects
Verified Commit ddf5e38c authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Rephrase doc string for server_error view

parent 3ce5bf5d
No related branches found
No related tags found
1 merge request!696Resolve "Error in 5xx pages"
Pipeline #24953 passed with warnings
......@@ -1207,7 +1207,7 @@ class SocialAccountDeleteView(DeleteView):
def server_error(
request: HttpRequest, template_name: str = ERROR_500_TEMPLATE_NAME
) -> HttpResponseServerError:
"""Custom error view that ensures the request is passed to the error page."""
"""Ensure the request is passed to the error page."""
template = loader.get_template(template_name)
context = {"request": request}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment