summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/checks.txt2
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
======================