Gitlab CSE Unil
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
M. Chardon
ADIM
Commits
051d7fc1
Commit
051d7fc1
authored
Apr 30, 2015
by
Julien Furrer
Browse files
updated settings for prod and staging
parent
b22ac73d
Changes
2
Show whitespace changes
Inline
Side-by-side
adim_project/adim_project/settings/production.py
View file @
051d7fc1
"""
Settings for production server
"""
from
.base
import
*
update_urls
(
'/adim/'
,
__name__
)
ALLOWED_HOSTS
=
[
'.unil.ch'
]
DATABASES
=
{
'default'
:
{
'ENGINE'
:
'django.db.backends.mysql'
,
'NAME'
:
'adim_dev'
,
'USER'
:
'adim'
,
'PASSWORD'
:
'ioue634jrs8asdfd0hewq876iujkh9877iuzhiuhg9875kb'
,
'HOST'
:
'localhost'
,
},
}
ADIM_PROD
=
True
ADIM_DEBUG_JS
=
False
adim_project/adim_project/settings/staging.py
View file @
051d7fc1
...
...
@@ -20,7 +20,5 @@ DATABASES = {
},
}
SENDFILE_BACKEND
=
'sendfile.backends.development'
ADIM_PROD
=
False
ADIM_DEBUG_JS
=
False
Write
Preview
Supports
Markdown
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