diff options
| -rw-r--r-- | example/README.rst | 7 | ||||
| -rw-r--r-- | example/urls.py | 2 | 
2 files changed, 6 insertions, 3 deletions
| diff --git a/example/README.rst b/example/README.rst index aa044b9..e517d6f 100644 --- a/example/README.rst +++ b/example/README.rst @@ -17,10 +17,13 @@ The test project requires a working installation of Django::      $ pip install Django +The following commands must be run from the root directory of a checkout of +the debug toolbar, ie. the directory that contains ``example/``. +  Before running the example for the first time, you must create a database:: -    $ django-admin.py syncdb --settings=example.settings +    $ PYTHONPATH=. django-admin.py syncdb --settings=example.settings  Then you can use the following command to run the example:: -    $ django-admin.py runserver --settings=example.settings +    $ PYTHONPATH=. django-admin.py runserver --settings=example.settings diff --git a/example/urls.py b/example/urls.py index f5ad145..7c62fa3 100644 --- a/example/urls.py +++ b/example/urls.py @@ -1,5 +1,5 @@  from django.conf import settings -from django.conf.urls.defaults import * +from django.conf.urls import patterns, include  from django.contrib import admin  from django.views.generic import TemplateView | 
