Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Updating to the latest version of django #127

Merged
merged 1 commit into from

1 participant

@rossbruniges

Has the new ALLOWED_HOSTS value to stop spoofing.

@rossbruniges rossbruniges merged commit d3380b1 into mozilla:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
4 gameon/settings/base.py
@@ -67,6 +67,10 @@
BROWSERID_CREATE_USER = True
+ALLOWED_HOSTS = [
+ 'gameon.mozilla.org',
+]
+
TEMPLATE_CONTEXT_PROCESSORS = list(TEMPLATE_CONTEXT_PROCESSORS) + [
'django_browserid.context_processors.browserid_form',
'django.contrib.messages.context_processors.messages',
View
6 gameon/settings/local.py-dist
@@ -65,6 +65,12 @@ PASSWORD_HASHERS = get_password_hashers(base.BASE_PASSWORD_HASHERS, HMAC_KEYS)
# Make this unique, and don't share it with anybody. It cannot be blank.
SECRET_KEY = ''
+# A list of strings containing the host/domains that the site can serve.
+# When DEBUG = True this value isn't used, but you might need to overide for staging
+#ALLOWED_HOSTS = [
+# ''
+#]
+
# Should robots.txt allow web crawlers? Set this to True for production
ENGAGE_ROBOTS = True
2  vendor
@@ -1 +1 @@
-Subproject commit 7040835e4bff630df108ce2d1acbabe6a5e156ba
+Subproject commit 72cace3d90da618dda7efaa89261961f08137091
Something went wrong with that request. Please try again.