Set ALLOWED_HOSTS variable for cobbler-web settings. 89/20989/1
authorIvan Suzdal <isuzdal@mirantis.com>
Thu, 19 May 2016 16:15:39 +0000 (19:15 +0300)
committerIvan Suzdal <isuzdal@mirantis.com>
Fri, 20 May 2016 11:43:24 +0000 (11:43 +0000)
commit234bb8912faacdc1840d00e67caf8833d12ab502
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
(cherry picked from commit 735d83c81a39c1d07edc31fc8843d575a587ffc7)
Mirantis-Add-ALLOWED_HOSTS-for-settings.patch [new file with mode: 0644]
cobbler.spec