summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimal Pappachan2012-03-26 18:28:23 +0530
committerPrimal Pappachan2012-03-26 18:28:23 +0530
commit2b7590ea9ddb9a9882d9bde674996e47791a1fbf (patch)
tree4cc6338a0933651ad14863330e9bb140c16e14d2
parenta4a9d53cd7584ab05e5c9fecf406ce03f927d8b8 (diff)
downloadaloha-2b7590ea9ddb9a9882d9bde674996e47791a1fbf.tar.gz
aloha-2b7590ea9ddb9a9882d9bde674996e47791a1fbf.tar.bz2
aloha-2b7590ea9ddb9a9882d9bde674996e47791a1fbf.zip
added third party apps for dev
-rw-r--r--settings.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index 29a57ae..fc2a8af 100644
--- a/settings.py
+++ b/settings.py
@@ -103,6 +103,7 @@ MIDDLEWARE_CLASSES = (
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
+ 'debug_toolbar.middleware.DebugToolbarMiddleware',
)
ROOT_URLCONF = 'aloha.urls'
@@ -127,6 +128,8 @@ INSTALLED_APPS = (
# 'django.contrib.admindocs',
#Third-Party Apps
'south',
+ 'django_extensions',
+ 'debug_toolbar',
'allotter',
)
@@ -157,3 +160,18 @@ LOGGING = {
AUTH_PROFILE_MODULE = "allotter.Profile"
LOGIN_URL = '/allotter/login'
+
+#For developing locally
+INTERNAL_IPS = ('127.0.0.1')
+
+DEBUG_TOOLBAR_PANELS = (
+ 'debug_toolbar.panels.version.VersionDebugPanel',
+ 'debug_toolbar.panels.timer.TimerDebugPanel',
+ 'debug_toolbar.panels.settings_vars.SettingsVarsDebugPanel',
+ 'debug_toolbar.panels.headers.HeaderDebugPanel',
+ 'debug_toolbar.panels.request_vars.RequestVarsDebugPanel',
+ 'debug_toolbar.panels.template.TemplateDebugPanel',
+ 'debug_toolbar.panels.sql.SQLDebugPanel',
+ 'debug_toolbar.panels.signals.SignalDebugPanel',
+ 'debug_toolbar.panels.logger.LoggingPanel',
+)