Permalink
Browse files

Bug 841773: Add ALLOWED_HOSTS setting.

  • Loading branch information...
1 parent 7f80051 commit ada599acb70dfab8673f8d49cd204dbc54e214a8 @pmac pmac committed Feb 20, 2013
Showing with 11 additions and 2 deletions.
  1. +4 −0 settings/__init__.py
  2. +7 −2 settings/base.py
View
@@ -8,3 +8,7 @@
except ImportError, exc:
exc.args = tuple(['%s (did you rename settings/local.py-dist?)' % exc.args[0]])
raise exc
+
+
+if DEV:
+ ALLOWED_HOSTS = ['*']
View
@@ -53,12 +53,17 @@
'gameon',
]
+ALLOWED_HOSTS = [
+ 'www.mozilla.org',
+ 'www.allizom.org',
+]
+
# Make this unique, and don't share it with anybody.
-SECRET_KEY = '1iz#v0m55@h26^m6hxk3a7at*h$qj_2a$juu1#nv50548j(x1v'
+SECRET_KEY = 'ssssshhhhh'
TEMPLATE_DIRS = (
path('templates'),
- path('locale')
+ path('locale'),
)

0 comments on commit ada599a

Please sign in to comment.