Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cc5f5776
authored
Apr 15, 2013
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
django: split settings by envs
parent
f6c47fc0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletions
+16
-1
cloud/settings/__init__.py
+0
-0
cloud/settings/base.py
+2
-1
cloud/settings/dev.py
+8
-0
cloud/settings/prod.py
+6
-0
No files found.
cloud/settings/__init__.py
0 → 100644
View file @
cc5f5776
cloud/settings.py
→
cloud/settings
/base
.py
View file @
cc5f5776
# Django settings for cloud project.
# coding=utf8
# Django base settings for cloud project.
DEBUG
=
True
DEBUG
=
True
...
...
cloud/settings/dev.py
0 → 100644
View file @
cc5f5776
# coding=utf8
# Django development settings for cloud project.
from
.base
import
*
DEBUG
=
True
TEMPLATE_DEBUG
=
DEBUG
EMAIL_HOST
=
"localhost"
EMAIL_PORT
=
1025
cloud/settings/prod.py
0 → 100644
View file @
cc5f5776
# coding=utf8
# Django production settings for cloud project.
from
.base
import
*
DEBUG
=
False
TEMPLATE_DEBUG
=
DEBUG
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