Django now validates ALLOWED_HOSTS even when DEBUG=True
chrisdev opened this issue · 1 comments
chrisdev commented
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
micheledallatorre commented
@chrxr I created a pull request following @chrisdev's #3 (comment)