mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks.
This commit is contained in:
parent
956cde8004
commit
0490d72f2a
5 changed files with 93 additions and 39 deletions
|
@ -409,6 +409,16 @@ registered as an inline on a :class:`~django.contrib.admin.ModelAdmin`.
|
|||
* **admin.E304**: ``<model>`` has no ``GenericForeignKey`` using content type
|
||||
field ``<field name>`` and object ID field ``<field name>``.
|
||||
|
||||
AdminSite
|
||||
~~~~~~~~~
|
||||
|
||||
The following checks are performed on the default
|
||||
:class:`~django.contrib.admin.AdminSite`:
|
||||
|
||||
* **admin.E401**: :mod:`django.contrib.contenttypes` must be in
|
||||
:setting:`INSTALLED_APPS` in order to use the admin application.
|
||||
* **admin.E402**: :mod:`django.contrib.auth.context_processors.auth`
|
||||
must be in :setting:`TEMPLATES` in order to use the admin application.
|
||||
|
||||
Auth
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue