Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_django unchained
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jose Emmanuel B. Laurel
widget_django unchained
Commits
9cf7f72f
Commit
9cf7f72f
authored
Mar 15, 2022
by
Joshua Son
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.discs.ateneo.edu/EJ/widget_django-unchained
parents
e174e85a
9d5f213a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
.env
widget_django_unchained/widget_django_unchained/.env
+1
-0
settings.py
widget_django_unchained/widget_django_unchained/settings.py
+5
-1
No files found.
widget_django_unchained/widget_django_unchained/.env
0 → 100644
View file @
9cf7f72f
SECRET_KEY='django-insecure-2r)*a*a(_wsywo^ddl_50b$)l+o6e)ph7^bnm4)1oh)wyx=d2j'
\ No newline at end of file
widget_django_unchained/widget_django_unchained/settings.py
View file @
9cf7f72f
...
@@ -11,6 +11,10 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
...
@@ -11,6 +11,10 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
"""
"""
from
pathlib
import
Path
from
pathlib
import
Path
import
environ
env
=
environ
.
Env
()
environ
.
Env
.
read_env
()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR
=
Path
(
__file__
)
.
resolve
()
.
parent
.
parent
BASE_DIR
=
Path
(
__file__
)
.
resolve
()
.
parent
.
parent
...
@@ -20,7 +24,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
...
@@ -20,7 +24,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'django-insecure-2r)*a*a(_wsywo^ddl_50b$)l+o6e)ph7^bnm4)1oh)wyx=d2j'
SECRET_KEY
=
env
(
"SECRET_KEY"
)
# SECURITY WARNING: don't run with debug turned on in production!
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
DEBUG
=
True
...
...
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