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
70f081d6
Commit
70f081d6
authored
Apr 11, 2018
by
Bengfort
Committed by
Stefan Bunde
Apr 11, 2018
Browse files
mv database settings to dev.py
parent
4e524d34
Changes
2
Hide whitespace changes
Inline
Side-by-side
castellum_core/castellum_core/castellum_core/settings/base.py
View file @
70f081d6
...
...
@@ -50,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/dev.py
View file @
70f081d6
...
...
@@ -3,3 +3,13 @@ from .base 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