Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606837915-practice
Commits
174ed399
Commit
174ed399
authored
Dec 23, 2019
by
Izzatul Muttaqin
Browse files
Ubah setting
parent
0eb0b6f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
testproject/settings.py
View file @
174ed399
...
...
@@ -11,10 +11,11 @@ https://docs.djangoproject.com/en/2.2/ref/settings/
"""
import
os
import
socket
import
dj_database_url
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR
=
os
.
path
.
dirname
(
os
.
path
.
dirname
(
os
.
path
.
abspath
(
__file__
)))
PRODUCTION
=
os
.
environ
.
get
(
'DATABASE_URL'
)
!=
None
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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