diff options
Diffstat (limited to 'testapp/settings.py')
-rw-r--r-- | testapp/settings.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testapp/settings.py b/testapp/settings.py index f1c48b9..0002476 100644 --- a/testapp/settings.py +++ b/testapp/settings.py @@ -89,7 +89,7 @@ STATIC_URL = '/static/' # URL prefix for admin static files -- CSS, JavaScript and images. # Make sure to use a trailing slash. # Examples: "http://foo.com/static/admin/", "/static/admin/". -ADMIN_MEDIA_PREFIX = URL_ROOT + '/static/admin/' +ADMIN_MEDIA_PREFIX = '/static/admin/' # Additional locations of static files STATICFILES_DIRS = ( @@ -123,6 +123,8 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', + 'debug_toolbar.middleware.DebugToolbarMiddleware', + ) ROOT_URLCONF = '%s.urls'%(basename(CURDIR)) @@ -143,10 +145,12 @@ INSTALLED_APPS = ( 'django.contrib.staticfiles', # Uncomment the next line to enable the admin: 'django.contrib.admin', + 'taggit', # Uncomment the next line to enable admin documentation: # 'django.contrib.admindocs', - 'south', 'exam', + 'taggit_autocomplete_modified', + 'debug_toolbar', ) # A sample logging configuration. The only tangible logging |