Skip to content

Commit 082fad0

Browse files
committed
Cleaned up contrib.admin install instructions.
Thanks Cal Leeming for the patch.
1 parent feaf9f2 commit 082fad0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/ref/contrib/admin/index.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ There are seven steps in activating the Django admin site:
2626
in your :setting:`INSTALLED_APPS` list, add them.
2727

2828
3. Add ``django.contrib.messages.context_processors.messages`` to
29-
:setting:`TEMPLATE_CONTEXT_PROCESSORS` and
30-
:class:`~django.contrib.messages.middleware.MessageMiddleware` to
31-
:setting:`MIDDLEWARE_CLASSES`. (These are both active by default, so
29+
:setting:`TEMPLATE_CONTEXT_PROCESSORS` as well as
30+
:class:`django.contrib.auth.middleware.AuthenticationMiddleware` and
31+
:class:`django.contrib.messages.middleware.MessageMiddleware` to
32+
:setting:`MIDDLEWARE_CLASSES`. (These are all active by default, so
3233
you only need to do this if you've manually tweaked the settings.)
3334

3435
4. Determine which of your application's models should be editable in the

0 commit comments

Comments
 (0)