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
This commit is contained in:
Adrian Holovaty 2007-05-14 03:29:13 +00:00
parent a386aa7cc2
commit 0810919694
1 changed files with 5 additions and 1 deletions

View File

@ -44,7 +44,11 @@ How to use Databrowse
It doesn't matter where you put this, as long as it gets executed at 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``). 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), (r'^databrowse/(.*)', databrowse.site.root),