Made some small clarifications to contrib/admin/index.txt

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2011-12-09 20:46:10 +00:00
parent 346324f131
commit 804a38c369
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,8 @@ There are seven steps in activating the Django admin site:
3. Add ``django.contrib.messages.context_processors.messages`` to
:setting:`TEMPLATE_CONTEXT_PROCESSORS` and
:class:`~django.contrib.messages.middleware.MessageMiddleware` to
:setting:`MIDDLEWARE_CLASSES`.
:setting:`MIDDLEWARE_CLASSES`. (These are both 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
admin interface.
@ -42,6 +43,9 @@ There are seven steps in activating the Django admin site:
7. Hook the ``AdminSite`` instance into your URLconf.
After you've taken these steps, you'll be able to use your Django admin site
by visiting the URL you hooked it into (``/admin/``, by default).
Other topics
------------