Browse Source

Use working by default ALLOWED_HOSTS and fix documentation's URL

daimrod 8 years ago
parent
commit
7c06c506ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      coin/settings.py

+ 2 - 2
coin/settings.py

@@ -31,8 +31,8 @@ DATABASES = {
 }
 
 # 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 = []
+# See https://docs.djangoproject.com/en/1.7/ref/settings/#allowed-hosts
+ALLOWED_HOSTS = ['127.0.0.1']
 
 # Local time zone for this installation. Choices can be found here:
 # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name