src/hdalab/config.py.tmpl
changeset 546 0ca66b267d15
parent 494 8382775d1344
child 632 eff2287e93fb
--- a/src/hdalab/config.py.tmpl	Wed Mar 18 18:52:43 2015 +0100
+++ b/src/hdalab/config.py.tmpl	Thu Mar 19 16:05:51 2015 +0100
@@ -57,6 +57,11 @@
 # Examples: "http://foo.com/static/admin/", "/static/admin/".
 ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'
 
+# Hosts/domain names that are valid for this site; required if DEBUG is False
+# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
+ALLOWED_HOSTS = ['localhost', '127.0.0.1']
+
+
 GOOGLE_ANALYTICS_CODE = None
 
 LOG_FILE = os.path.abspath(os.path.join(BASE_DIR,"../../run/log/log.txt"))