Permalink
Browse files

Settings refactor.

  • Loading branch information...
1 parent 78866a8 commit cd27c161ef304e76542374b3035f83476544d246 @audreyr committed Nov 9, 2011
View
@@ -32,6 +32,7 @@ dev.db*
*.log
local_settings.py
collected_static/
+dev_private.py
# Local file cruft/auto-backups
.DS_Store
@@ -1,6 +0,0 @@
-TWITTER_CONSUMER_KEY = 'DEFINE-ME-IN-LOCAL-SETTINGS'
-TWITTER_CONSUMER_SECRET = 'DEFINE-ME-IN-LOCAL-SETTINGS'
-FACEBOOK_APP_ID = 'DEFINE-ME-IN-LOCAL-SETTINGS'
-FACEBOOK_API_SECRET = 'DEFINE-ME-IN-LOCAL-SETTINGS'
-
-INTERNAL_IPS = ('127.0.0.1', 'YOUR-IP-ADDRESS-HERE')
@@ -4,7 +4,7 @@
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
-DEBUG = True
+DEBUG = False
TEMPLATE_DEBUG = DEBUG
ADMINS = (
@@ -0,0 +1,15 @@
+from .base import *
+
+DEBUG = True
+TEMPLATE_DEBUG = DEBUG
+
+TWITTER_CONSUMER_KEY = 'DEFINE-ME-HERE--DO-NOT-CHECK-IN-PUBLICLY'
+TWITTER_CONSUMER_SECRET = 'DEFINE-ME-HERE--DO-NOT-CHECK-IN-PUBLICLY'
+FACEBOOK_APP_ID = 'DEFINE-ME-HERE--DO-NOT-CHECK-IN-PUBLICLY'
+FACEBOOK_API_SECRET = 'DEFINE-ME-HERE--DO-NOT-CHECK-IN-PUBLICLY'
+
+INTERNAL_IPS = ('127.0.0.1', 'YOUR-IP-ADDRESS-HERE')
+
+DEBUG_TOOLBAR_CONFIG = {
+ 'INTERCEPT_REDIRECTS': False,
+}

0 comments on commit cd27c16

Please sign in to comment.