diff options
| author | Angus Holder <aholder97@gmail.com> | 2020-11-14 17:25:57 +0000 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-06-09 09:06:42 +0200 |
| commit | 3e73c65ffcf263d5ccd107589452a4615281a0e8 (patch) | |
| tree | 8dc22276119e1ef908452d4b1a6a37ad3932e54b /docs/ref | |
| parent | 8f89454bbc873a117cc8614f2d1f1fbfd4e79ee4 (diff) | |
Fixed #32195 -- Added system check for invalid view in path() and improved error messages.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/checks.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index f304da7e11..3147114f8d 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -584,6 +584,8 @@ The following checks are performed on your URL configuration: take the correct number of arguments (…). * **urls.E008**: The custom ``handlerXXX`` view ``'path.to.view'`` could not be imported. +* **urls.E009**: Your URL pattern ``<pattern>`` has an invalid view, pass + ``<view>.as_view()`` instead of ``<view>``. ``contrib`` app checks ====================== |
