multi-site-wagtail icon indicating copy to clipboard operation
multi-site-wagtail copied to clipboard

Django now validates ALLOWED_HOSTS even when DEBUG=True

Open chrisdev opened this issue 8 years ago • 1 comments

Great example! But this security fix means that you've actually got to add

ALLOWED_HOSTS = ['site2.localhost', 'site3.localhost', 'localhost']

to multisite/settings/dev.py to get the example to work

chrisdev avatar Dec 09 '16 16:12 chrisdev

@chrxr I created a pull request following @chrisdev's https://github.com/chrxr/multi-site-wagtail/issues/3#issue-194635554

micheledallatorre avatar Dec 28 '16 11:12 micheledallatorre