Set ALLOWED_HOSTS variable for cobbler-web settings. 52/20952/2
authorIvan Suzdal <isuzdal@mirantis.com>
Thu, 19 May 2016 16:15:39 +0000 (19:15 +0300)
committerIvan Suzdal <isuzdal@mirantis.com>
Thu, 19 May 2016 17:44:14 +0000 (20:44 +0300)
commit735d83c81a39c1d07edc31fc8843d575a587ffc7
tree273224d87f6bc68279fe4cd0b54ed5bdec31f2a4
parente163530b50ba26e5b96e1ca6de1338586e25f11a
Set ALLOWED_HOSTS variable for cobbler-web settings.

Since django version 1.5 (IIUC) if your host is not
in ALLOWED_HOSTS - you will get http error 400
from django application (surprisingly, yeah?).
So, simplest way to resolve this issue - add
all hosts to ALLOWED_HOSTS.

Change-Id: I0705b4e008e67d95e9ea2dab903babecd03c9715
Closes-Bug: #1583648
Mirantis-Add-ALLOWED_HOSTS-for-settings.patch [new file with mode: 0644]
cobbler.spec