Unverified Commit ae276757 authored by Thom Wiggers's avatar Thom Wiggers 📐

1.10.3 security release

parent 38298790
......@@ -28,7 +28,8 @@ SECRET_KEY = '#o-0d1q5&^&06tn@8pr1f(n3$crafd++^%sacao7hj*ea@c)^t'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
if not DEBUG: # Django 1.10.3 security release changed behaviour
ALLOWED_HOSTS = []
SITE_ID = 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment