summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-11-02 16:15:40 -0400
committerTim Graham <timograham@gmail.com>2012-11-02 18:05:51 -0400
commita738d80dd1d81addc2cebda5636bb254002acac7 (patch)
tree4e94ef3bfdee47ad83aa17dac712166bdc84bf11 /docs
parentffc649df888ea35d0e6848bf53ee26917fccc27e (diff)
[1.5.X] Cleaned up contrib.admin install instructions.
Thanks Cal Leeming for the patch. \nBackport of 082fad0b83 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/admin/index.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/ref/contrib/admin/index.txt b/docs/ref/contrib/admin/index.txt
index 6ed929cb7d..b661806c76 100644
--- a/docs/ref/contrib/admin/index.txt
+++ b/docs/ref/contrib/admin/index.txt
@@ -26,9 +26,10 @@ There are seven steps in activating the Django admin site:
in your :setting:`INSTALLED_APPS` list, add them.
3. Add ``django.contrib.messages.context_processors.messages`` to
- :setting:`TEMPLATE_CONTEXT_PROCESSORS` and
- :class:`~django.contrib.messages.middleware.MessageMiddleware` to
- :setting:`MIDDLEWARE_CLASSES`. (These are both active by default, so
+ :setting:`TEMPLATE_CONTEXT_PROCESSORS` as well as
+ :class:`django.contrib.auth.middleware.AuthenticationMiddleware` and
+ :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.)
4. Determine which of your application's models should be editable in the