diff --git a/castellum_core/castellum_core/castellum_core/settings/__init__.py b/castellum_core/castellum_core/castellum_core/settings/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..79be19769ae97150245e7a86e93d6cf04eb2f7b0 --- /dev/null +++ b/castellum_core/castellum_core/castellum_core/settings/__init__.py @@ -0,0 +1 @@ +from .development import * diff --git a/castellum_core/castellum_core/castellum_core/settings.py b/castellum_core/castellum_core/castellum_core/settings/default.py similarity index 89% rename from castellum_core/castellum_core/castellum_core/settings.py rename to castellum_core/castellum_core/castellum_core/settings/default.py index ae4c7d7c1c415d631798b6682acb4809f1829933..ae241d5a41439d4c2311690301af127b74e5cb30 100644 --- a/castellum_core/castellum_core/castellum_core/settings.py +++ b/castellum_core/castellum_core/castellum_core/settings/default.py @@ -3,10 +3,6 @@ import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -SECRET_KEY = 'i#$kwk(s24ysn+l%+c!*z9u4+45)oex!-s#!bux#wf2pv2cc0d' - -DEBUG = True - ALLOWED_HOSTS = [] @@ -54,16 +50,6 @@ TEMPLATES = [ WSGI_APPLICATION = 'castellum_core.wsgi.application' -# Database - -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), - } -} - - # Password validation AUTH_PASSWORD_VALIDATORS = [ diff --git a/castellum_core/castellum_core/castellum_core/settings/development.py b/castellum_core/castellum_core/castellum_core/settings/development.py new file mode 100644 index 0000000000000000000000000000000000000000..b59aa343f2eaf60000c244ee17dae98886aa49d2 --- /dev/null +++ b/castellum_core/castellum_core/castellum_core/settings/development.py @@ -0,0 +1,16 @@ +from .default import * + + +SECRET_KEY = 'i#$kwk(s24ysn+l%+c!*z9u4+45)oex!-s#!bux#wf2pv2cc0d' + +DEBUG = True + + +# Database + +DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + } +}