Skip to content

Commit 3536d50

Browse files
committed
Make localhost the default ALLOWED_HOSTS
1 parent 4bc208f commit 3536d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/example/settings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
DEBUG = os.environ.get('DEBUG', 'on') == 'on'
99

10-
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', '').split(';')
10+
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost').split(';')
1111

1212
DATABASES = {
1313
'default': dj_database_url.config(default='postgres:///allaccess'),

0 commit comments

Comments
 (0)