Django

Code

Changeset 8010

Show
Ignore:
Timestamp:
07/20/08 13:20:54 (6 months ago)
Author:
brosner
Message:

Fixed #7850 -- Added adding django.contrib.admin to INSTALLED_APPS to the steps to activating the Django admin site. Thanks dacort for the report.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/admin.txt

    r7983 r8010  
    1919======== 
    2020 
    21 There are four steps in activating the Django admin site: 
    22  
    23     1. Determine which of your application's models should be editable in the 
     21There are five steps in activating the Django admin site: 
     22 
     23    1. Add ``django.contrib.admin`` to your ``INSTALLED_APPS`` setting. 
     24     
     25    2. Determine which of your application's models should be editable in the 
    2426       admin interface. 
    2527 
    26     2. For each of those models, optionally create a ``ModelAdmin`` class that 
     28    3. For each of those models, optionally create a ``ModelAdmin`` class that 
    2729       encapsulates the customized admin functionality and options for that 
    2830       particular model. 
    2931 
    30     3. Instantiate an ``AdminSite`` and tell it about each of your models and 
     32    4. Instantiate an ``AdminSite`` and tell it about each of your models and 
    3133       ``ModelAdmin`` classes. 
    3234 
    33     4. Hook the ``AdminSite`` instance into your URLconf. 
     35    5. Hook the ``AdminSite`` instance into your URLconf. 
    3436 
    3537``ModelAdmin`` objects