add a list of allowed hosts to the django settings

This commit is contained in:
Andreas Zweili 2017-12-25 22:32:07 +01:00
parent 49ac7f71a3
commit 054909b145
1 changed files with 7 additions and 0 deletions

View File

@ -129,3 +129,10 @@ USE_TZ = True
STATIC_URL = '/static/'
STATIC_ROOT = '/vagrant/django/didgeridoo/static/'
MEDIA_ROOT = '/vagrant/django/didgeridoo/media/'
ALLOWED_HOSTS = [
'localhost',
'127.0.0.1',
'didgeridoo.ml'
]