mirror of https://github.com/django/django.git
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:
parent
a386aa7cc2
commit
0810919694
|
@ -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),
|
||||
|
||||
|
|
Loading…
Reference in New Issue