diff options
| author | Apkawa | 2011-10-26 23:01:50 +0400 |
|---|---|---|
| committer | Apkawa | 2011-10-26 23:01:50 +0400 |
| commit | 0e262aefe7b272ac8d8725f2af2f304a26f20927 (patch) | |
| tree | 4bcfec5f1c61b71a514b49f67c06737d40661c40 /example | |
| parent | c9147364e40fd01d5fafcbdeb1c9563d2b5a4361 (diff) | |
| download | django-debug-toolbar-0e262aefe7b272ac8d8725f2af2f304a26f20927.tar.bz2 | |
Fixed ProfilingDebugPanel; fixed example site if installed other debug_toolbar in system
Diffstat (limited to 'example')
| -rw-r--r-- | example/example.db | bin | 55296 -> 55296 bytes | |||
| -rw-r--r-- | example/settings.py | 5 |
2 files changed, 4 insertions, 1 deletions
diff --git a/example/example.db b/example/example.db Binary files differindex 7acdc0d..443f173 100644 --- a/example/example.db +++ b/example/example.db diff --git a/example/settings.py b/example/settings.py index fac99af..279db7e 100644 --- a/example/settings.py +++ b/example/settings.py @@ -1,5 +1,6 @@ import os PROJECT_PATH = os.path.realpath(os.path.dirname(__file__)) +os.sys.path.insert(0, os.path.dirname(PROJECT_PATH)) ADMIN_MEDIA_PREFIX = '/admin_media/' DATABASE_ENGINE = 'sqlite3' @@ -31,7 +32,9 @@ TEMPLATE_CONTEXT_PROCESSORS = ( 'django.core.context_processors.request', ) TEMPLATE_DEBUG = DEBUG -TEMPLATE_DIRS = (os.path.join(PROJECT_PATH, 'templates')) +TEMPLATE_DIRS = ( + os.path.join(PROJECT_PATH, 'templates'), + ) DEBUG_TOOLBAR_PANELS = ( 'debug_toolbar.panels.version.VersionDebugPanel', 'debug_toolbar.panels.timer.TimerDebugPanel', |
