summaryrefslogtreecommitdiff
path: root/docs/databrowse.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2007-05-14 03:29:13 +0000
committerAdrian Holovaty <adrian@holovaty.com>2007-05-14 03:29:13 +0000
commit0810919694e26ce5e21d9ca56b2fbe944bfb88a6 (patch)
treed4ebd632c7f38cf4f11023fa19fc3e3967450cd4 /docs/databrowse.txt
parenta386aa7cc28dde3afd5460919fea3ae24ca092a2 (diff)
Fixed #4217 -- Added note to docs/databrowse.txt about import. Thanks, Thomas Güttler
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/databrowse.txt')
-rw-r--r--docs/databrowse.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/databrowse.txt b/docs/databrowse.txt
index e9691cc879..9c03e7e4ea 100644
--- a/docs/databrowse.txt
+++ b/docs/databrowse.txt
@@ -44,7 +44,11 @@ How to use Databrowse
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),