Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Castellum
castellum
Commits
bb77e37b
Commit
bb77e37b
authored
Apr 11, 2018
by
Bengfort
Browse files
Merge branch '2018-04-tb-split-settings' into 'master'
251 279: split settings See merge request
!4
parents
d6310da8
2f42a9ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
castellum_core/castellum_core/castellum_core/settings/__init__.py
0 → 100644
View file @
bb77e37b
from
.development
import
*
castellum_core/castellum_core/castellum_core/settings.py
→
castellum_core/castellum_core/castellum_core/settings
/default
.py
View file @
bb77e37b
...
...
@@ -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
=
[
...
...
castellum_core/castellum_core/castellum_core/settings/development.py
0 → 100644
View file @
bb77e37b
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'
),
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment