1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

[1.5.X] Cleaned up contrib.admin install instructions.

Thanks Cal Leeming for the patch.
\nBackport of 082fad0b83 from master
This commit is contained in:
Tim Graham 2012-11-02 16:15:40 -04:00
parent ffc649df88
commit a738d80dd1

View File

@ -26,9 +26,10 @@ There are seven steps in activating the Django admin site:
in your :setting:`INSTALLED_APPS` list, add them. 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` as well as
:class:`~django.contrib.messages.middleware.MessageMiddleware` to :class:`django.contrib.auth.middleware.AuthenticationMiddleware` and
:setting:`MIDDLEWARE_CLASSES`. (These are both active by default, so :class:`django.contrib.messages.middleware.MessageMiddleware` to
:setting:`MIDDLEWARE_CLASSES`. (These are all active by default, so
you only need to do this if you've manually tweaked the settings.) you only need to do this if you've manually tweaked the settings.)
4. Determine which of your application's models should be editable in the 4. Determine which of your application's models should be editable in the