chrxr/multi-site-wagtail

Django now validates ALLOWED_HOSTS even when DEBUG=True

chrisdev opened this issue · 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

@chrxr I created a pull request following @chrisdev's #3 (comment)