From 0810919694e26ce5e21d9ca56b2fbe944bfb88a6 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 14 May 2007 03:29:13 +0000 Subject: [PATCH] =?UTF-8?q?Fixed=20#4217=20--=20Added=20note=20to=20docs/d?= =?UTF-8?q?atabrowse.txt=20about=20import.=20Thanks,=20Thomas=20G=C3=BCttl?= =?UTF-8?q?er?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://code.djangoproject.com/svn/django/trunk@5221 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/databrowse.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/databrowse.txt b/docs/databrowse.txt index e9691cc8793..9c03e7e4ead 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),