From 177fca2e93e22bae1bbd9280761a7e4ac66bead1 Mon Sep 17 00:00:00 2001 From: Tobias Bengfort Date: Wed, 19 Feb 2020 13:17:49 +0100 Subject: [PATCH] rm CASTELLUM_DOMAINS from settings revert this to run migrations on dev --- castellum/settings/bare.py | 7 ------- castellum/settings/development.py | 7 ------- castellum/settings/gitlab.py | 7 ------- docs/example_deployment/settings.py | 7 ------- 4 files changed, 28 deletions(-) diff --git a/castellum/settings/bare.py b/castellum/settings/bare.py index 460ebb0db..c98a5bb69 100644 --- a/castellum/settings/bare.py +++ b/castellum/settings/bare.py @@ -1,10 +1,3 @@ from .default import * SECRET_KEY = 'CHANGEME' - -CASTELLUM_DOMAINS = { - 'contact': { - 'key': 'CHANGEME', - 'bits': 40, - } -} diff --git a/castellum/settings/development.py b/castellum/settings/development.py index d0471a514..a77b8f0d5 100644 --- a/castellum/settings/development.py +++ b/castellum/settings/development.py @@ -46,12 +46,5 @@ DATABASES = { EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' -CASTELLUM_DOMAINS = { - 'contact': { - 'key': 'CHANGEME', - 'bits': 40, - } -} - CASTELLUM_COVERLETTER_TEMPLATE = os.path.join(BASE_DIR, 'subjects', 'fixtures', 'demo_coverletter.docx') CASTELLUM_DELETE_NOTIFICATION_TO = 'data-protection@example.com' diff --git a/castellum/settings/gitlab.py b/castellum/settings/gitlab.py index da9a601ee..54172a1d1 100644 --- a/castellum/settings/gitlab.py +++ b/castellum/settings/gitlab.py @@ -19,11 +19,4 @@ DATABASES = { }, } -CASTELLUM_DOMAINS = { - 'contact': { - 'key': 'CHANGEME', - 'bits': 40, - } -} - CASTELLUM_COVERLETTER_TEMPLATE = os.path.join(BASE_DIR, 'subjects', 'fixtures', 'demo_coverletter.docx') diff --git a/docs/example_deployment/settings.py b/docs/example_deployment/settings.py index 9436ff998..dc80aa3b3 100644 --- a/docs/example_deployment/settings.py +++ b/docs/example_deployment/settings.py @@ -43,13 +43,6 @@ AUTH_LDAP_USER_ATTR_MAP = { 'last_name': 'sn', } -CASTELLUM_DOMAINS = { - 'contact': { - 'key': 'CHANGEME', - 'bits': 40, - } -} - # Limit login attempts # See https://django-axes.readthedocs.io/ INSTALLED_APPS.append('axes') -- GitLab