mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks.
This commit is contained in:
committed by
Tim Graham
parent
956cde8004
commit
0490d72f2a
@@ -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
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user