Skip to content

Commit

Permalink
Fixed #7850 -- Added adding django.contrib.admin to INSTALLED_APPS to…
Browse files Browse the repository at this point in the history
… the steps to activating the Django admin site. Thanks dacort for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8010 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
brosner committed Jul 20, 2008
1 parent effa299 commit c2ee295
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/admin.txt
Expand Up @@ -18,19 +18,21 @@ Django's admin interface.
Overview
========

There are four steps in activating the Django admin site:
There are five steps in activating the Django admin site:

1. Determine which of your application's models should be editable in the
1. Add ``django.contrib.admin`` to your ``INSTALLED_APPS`` setting.

2. Determine which of your application's models should be editable in the
admin interface.

2. For each of those models, optionally create a ``ModelAdmin`` class that
3. For each of those models, optionally create a ``ModelAdmin`` class that
encapsulates the customized admin functionality and options for that
particular model.

3. Instantiate an ``AdminSite`` and tell it about each of your models and
4. Instantiate an ``AdminSite`` and tell it about each of your models and
``ModelAdmin`` classes.

4. Hook the ``AdminSite`` instance into your URLconf.
5. Hook the ``AdminSite`` instance into your URLconf.

``ModelAdmin`` objects
======================
Expand Down

0 comments on commit c2ee295

Please sign in to comment.