[damned-lies/oscp] Set ALLOW_HOSTS in proper place
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/oscp] Set ALLOW_HOSTS in proper place
- Date: Mon, 23 Mar 2020 13:56:29 +0000 (UTC)
commit 9e8c6bd73b7b96a603a4e709752006e2795bfd2b
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Mar 23 14:55:51 2020 +0100
Set ALLOW_HOSTS in proper place
local_settings.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/local_settings.py b/local_settings.py
index ab7febce..82648ca7 100644
--- a/local_settings.py
+++ b/local_settings.py
@@ -1,7 +1,5 @@
import os
-ALLOWED_HOSTS = ['*']
-
DEBUG = False
STATIC_SERVE = False
USE_DJANGO_OPENID = False
@@ -26,7 +24,8 @@ DATABASES = {
}
}
SECRET_KEY = '$SECRET_KEY'
-ALLOWED_HOSTS=['l10n.gnome.org', '8.43.85.13', '8.43.85.14']
+#ALLOWED_HOSTS=['l10n.gnome.org', '8.43.85.13', '8.43.85.14']
+ALLOWED_HOSTS = ['*']
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]