diff options
| author | Aymeric Augustin | 2013-10-15 09:37:29 +0200 | 
|---|---|---|
| committer | Aymeric Augustin | 2013-10-15 09:37:29 +0200 | 
| commit | 9366b7adfa932c1ecafac820a70c3c38584c876f (patch) | |
| tree | a85c180942a26ff8a96e720cffe43d30e81491e5 | |
| parent | 2ceeec7d1871cb587debed8e4e001d6b2369dd0f (diff) | |
| download | django-debug-toolbar-9366b7adfa932c1ecafac820a70c3c38584c876f.tar.bz2 | |
Fix a few issues in the updated example project.
| -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 | 
