mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #32195 -- Added system check for invalid view in path() and improved error messages.
This commit is contained in:
parent
8f89454bbc
commit
3e73c65ffc
6 changed files with 65 additions and 0 deletions
|
@ -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
|
||||
======================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue