mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #32195 -- Added system check for invalid view in path() and improved error messages.
This commit is contained in:
committed by
Mariusz Felisiak
parent
8f89454bbc
commit
3e73c65ffc
@@ -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
|
||||
======================
|
||||
|
||||
Reference in New Issue
Block a user