From 9366b7adfa932c1ecafac820a70c3c38584c876f Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 15 Oct 2013 09:37:29 +0200 Subject: Fix a few issues in the updated example project. --- example/README.rst | 7 +++++-- example/urls.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'example') 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 -- cgit v1.2.3