From 0490d72f2a309ee2c6d73cdc5aa5cc381e14ae98 Mon Sep 17 00:00:00 2001 From: Vincenzo Pandolfo Date: Thu, 10 Dec 2015 12:45:21 +0000 Subject: Fixed #24116 -- Moved AdminSite.check_dependencies() to system checks. --- docs/ref/checks.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') 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**: ```` has no ``GenericForeignKey`` using content type field ```` and object ID field ````. +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 ---- -- cgit v1.3