From 3e73c65ffcf263d5ccd107589452a4615281a0e8 Mon Sep 17 00:00:00 2001 From: Angus Holder Date: Sat, 14 Nov 2020 17:25:57 +0000 Subject: Fixed #32195 -- Added system check for invalid view in path() and improved error messages. --- docs/ref/checks.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') 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 ```` has an invalid view, pass + ``.as_view()`` instead of ````. ``contrib`` app checks ====================== -- cgit v1.3