Add the host to the list of ALLOWED_HOSTS

This commit is contained in:
Pierre-Yves Chibon 2015-09-30 10:05:39 +02:00
parent 4ccd19a951
commit bbbfe4d4e4

View file

@ -60,8 +60,7 @@ DEBUG = False
# NOTE: this is needed when DEGUB is False.
# https://docs.djangoproject.com/en/1.8/ref/settings/#allowed-hosts
#ALLOWED_HOSTS = ['pdc.fedoraproject.org']
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['{{ hostname }}']
# ADMINS and MANAGERS
# ADMINS = ()