Fixed #16552: Noted that contrib.sessions is a requirement for the admin.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16806 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
James Bennett 2011-09-11 05:31:00 +00:00
parent 94524fbfef
commit 7b92ae310d
1 changed files with 5 additions and 4 deletions

View File

@ -19,10 +19,11 @@ There are seven steps in activating the Django admin site:
1. Add ``'django.contrib.admin'`` to your :setting:`INSTALLED_APPS`
setting.
2. Admin has three dependencies - :mod:`django.contrib.auth`,
:mod:`django.contrib.contenttypes` and :mod:`django.contrib.messages`.
If these applications are not in your :setting:`INSTALLED_APPS` list,
add them.
2. The admin has four dependencies - :mod:`django.contrib.auth`,
:mod:`django.contrib.contenttypes`,
:mod:`django.contrib.messages` and
:mod:`django.contrib.sessions`. If these applications are not
in your :setting:`INSTALLED_APPS` list, add them.
3. Add ``django.contrib.messages.context_processors.messages`` to
:setting:`TEMPLATE_CONTEXT_PROCESSORS` and