public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/euscan:docker-compose--wip--expect-force-pushes commit in: euscanwww/euscanwww/
@ 2020-02-09 23:16 Sebastian Pipping
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Pipping @ 2020-02-09 23:16 UTC (permalink / raw
  To: gentoo-commits

commit:     f3fd93158f4fadf7290c8e2369d88db632d78612
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 22:33:32 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 23:16:35 2020 +0000
URL:        https://gitweb.gentoo.org/proj/euscan.git/commit/?id=f3fd9315

settings: Set ALLOWED_HOSTS default to satisfy DEBUG=False

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 euscanwww/euscanwww/settings.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/euscanwww/euscanwww/settings.py b/euscanwww/euscanwww/settings.py
index d9879ff..4ee020b 100644
--- a/euscanwww/euscanwww/settings.py
+++ b/euscanwww/euscanwww/settings.py
@@ -5,6 +5,12 @@ import os.path
 DEBUG = False
 TEMPLATE_DEBUG = DEBUG
 
+ALLOWED_HOSTS = [
+    '0.0.0.0',
+    '127.0.0.1',
+    '172.0.0.0/8',  # Docker internal
+]
+
 ADMINS = (
     ('admin', 'admin@example.com'),
 )


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/euscan:docker-compose--wip--expect-force-pushes commit in: euscanwww/euscanwww/
@ 2020-02-09 23:16 Sebastian Pipping
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Pipping @ 2020-02-09 23:16 UTC (permalink / raw
  To: gentoo-commits

commit:     c9b3f8148df243dd30497afcba8aefbdd24a9400
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 14:14:30 2020 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 23:16:35 2020 +0000
URL:        https://gitweb.gentoo.org/proj/euscan.git/commit/?id=c9b3f814

euscanwww: Support loading oad Django SECRET_KEY from environment

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 euscanwww/euscanwww/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/euscanwww/euscanwww/settings.py b/euscanwww/euscanwww/settings.py
index 4ee020b..7523da3 100644
--- a/euscanwww/euscanwww/settings.py
+++ b/euscanwww/euscanwww/settings.py
@@ -115,7 +115,7 @@ STATICFILES_FINDERS = (
 )
 
 # Make this unique, and don't share it with anybody.
-SECRET_KEY = ''
+SECRET_KEY = os.environ.get('EUSCAN_SECRET_KEY', '')
 
 # List of callables that know how to import templates from various sources.
 TEMPLATE_LOADERS = (


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/euscan:docker-compose--wip--expect-force-pushes commit in: euscanwww/euscanwww/
@ 2020-02-09 23:16 Sebastian Pipping
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Pipping @ 2020-02-09 23:16 UTC (permalink / raw
  To: gentoo-commits

commit:     531fc6248f3edda82105fa2925dabf70056c4a5c
Author:     NP-Hardass <np.hardass <AT> gmail <DOT> com>
AuthorDate: Sun Jun 11 07:28:12 2017 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 23:16:13 2020 +0000
URL:        https://gitweb.gentoo.org/proj/euscan.git/commit/?id=531fc624

euscanwww/settings.py: drop south

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>

 euscanwww/euscanwww/settings.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/euscanwww/euscanwww/settings.py b/euscanwww/euscanwww/settings.py
index e1e752c..d9879ff 100644
--- a/euscanwww/euscanwww/settings.py
+++ b/euscanwww/euscanwww/settings.py
@@ -168,7 +168,6 @@ INSTALLED_APPS = (
     'django.contrib.admin',
     # Uncomment the next line to enable admin documentation:
     # 'django.contrib.admindocs',
-    'south',
     'djcelery',
     'registration',
     'captcha'


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-02-09 23:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-09 23:16 [gentoo-commits] proj/euscan:docker-compose--wip--expect-force-pushes commit in: euscanwww/euscanwww/ Sebastian Pipping
  -- strict thread matches above, loose matches on Subject: below --
2020-02-09 23:16 Sebastian Pipping
2020-02-09 23:16 Sebastian Pipping

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox