Author: adrian
Date: 2007-05-13 22:29:13 -0500 (Sun, 13 May 2007)
New Revision: 5221
Modified:
django/trunk/docs/databrowse.txt
Log:
Fixed #4217 -- Added note to docs/databrowse.txt about import. Thanks, Thomas
G?\195?\188ttler
Modified: django/trunk/docs/databrowse.txt
===================================================================
--- django/trunk/docs/databrowse.txt 2007-05-14 03:27:07 UTC (rev 5220)
+++ django/trunk/docs/databrowse.txt 2007-05-14 03:29:13 UTC (rev 5221)
@@ -44,8 +44,12 @@
It doesn't matter where you put this, as long as it gets executed at
some point. A good place for it is in your URLconf file (``urls.py``).
- 3. Add the following line to your URLconf::
+ 3. Change your URLconf to import the ``databrowse`` module::
+ from django.contrib import databrowse
+
+ ...and add the following line to your URLconf::
+
(r'^databrowse/(.*)', databrowse.site.root),
The prefix doesn't matter -- you can use ``databrowse/`` or ``db/`` or
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---