HomeSoftware Heritage

add archive.softwareheritage.org in ALLOWED_HOSTS

Description

add archive.softwareheritage.org in ALLOWED_HOSTS

Details

Provenance
anlambertAuthored on Oct 13 2017, 9:11 PM
anlambertPushed on Oct 13 2017, 9:13 PM
Parents
rDWAPPS5c0d5e7820e4: fix tests execution when building debian packages after changes from…
Branches
Unknown
Tags
Unknown

Event Timeline

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,