diff options
| author | Dan Swain <dan@danswain.com> | 2019-11-05 15:27:09 -0500 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-11-06 09:27:45 +0100 |
| commit | 8b14545d3610fabb41b386b61985a40afc4f9520 (patch) | |
| tree | 229733bf55f768e7de7b52e490505d35f95f4c8a /docs | |
| parent | 9f81af4be49cd691cf872c0ea34c5c91e79ea96a (diff) | |
[2.2.x] Documented arguments for custom 500 error view.
Backport of 422b875c6586a6548c6bf34a0851ae82198a8818 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/urls.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt index 88720189d2..1527a34720 100644 --- a/docs/ref/urls.txt +++ b/docs/ref/urls.txt @@ -192,5 +192,5 @@ that should be called in case of server errors. Server errors happen when you have runtime errors in view code. By default, this is :func:`django.views.defaults.server_error`. If you -implement a custom view, be sure it returns an -:class:`~django.http.HttpResponseServerError`. +implement a custom view, be sure it accepts a ``request`` argument and returns +an :class:`~django.http.HttpResponseServerError`. |
