diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/checks.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index e9c8e45cbb..854a9ca254 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -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 ---- |
