Author: brosner
Date: 2008-07-20 13:20:54 -0500 (Sun, 20 Jul 2008)
New Revision: 8010
Modified:
django/trunk/docs/admin.txt
Log:
Fixed #7850 -- Added adding django.contrib.admin to INSTALLED_APPS to the steps
to activating the Django admin site. Thanks dacort for the report.
Modified: django/trunk/docs/admin.txt
===================================================================
--- django/trunk/docs/admin.txt 2008-07-20 18:09:27 UTC (rev 8009)
+++ django/trunk/docs/admin.txt 2008-07-20 18:20:54 UTC (rev 8010)
@@ -18,19 +18,21 @@
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
======================
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---