add archive.softwareheritage.org in ALLOWED_HOSTS
Description
Description
Details
Details
- Provenance
anlambert Authored on Oct 13 2017, 9:11 PM anlambert Pushed on Oct 13 2017, 9:13 PM - Parents
- rDWAPPS5c0d5e7820e4: fix tests execution when building debian packages after changes from…
- Branches
- Unknown
- Tags
Event Timeline
Comment Actions
A nitpick.
I would have separate this according to use, so for production, putting something like the following in settings/production module:
ALLOWED_HOSTS+=['archive.softwareheritage.org'] # noqa
or
from .common import * from .common import ALLOWED_HOST ALLOWED_HOSTS+=['archive.softwareheritage.org']
ditto for the 'testserver' entry which i imagine goes inside the settings/tests module?
Cheers,