Kaydet (Commit) 7b92ae31 authored tarafından James Bennett's avatar James Bennett

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
üst 94524fbf
...@@ -19,10 +19,11 @@ There are seven steps in activating the Django admin site: ...@@ -19,10 +19,11 @@ There are seven steps in activating the Django admin site:
1. Add ``'django.contrib.admin'`` to your :setting:`INSTALLED_APPS` 1. Add ``'django.contrib.admin'`` to your :setting:`INSTALLED_APPS`
setting. setting.
2. Admin has three dependencies - :mod:`django.contrib.auth`, 2. The admin has four dependencies - :mod:`django.contrib.auth`,
:mod:`django.contrib.contenttypes` and :mod:`django.contrib.messages`. :mod:`django.contrib.contenttypes`,
If these applications are not in your :setting:`INSTALLED_APPS` list, :mod:`django.contrib.messages` and
add them. :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 3. Add ``django.contrib.messages.context_processors.messages`` to
:setting:`TEMPLATE_CONTEXT_PROCESSORS` and :setting:`TEMPLATE_CONTEXT_PROCESSORS` and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment