Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
joshbenito_reading
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
0
Merge Requests
0
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
Matthew Josh Benedict Benito
joshbenito_reading
Commits
02206487
Commit
02206487
authored
May 19, 2023
by
MJoshBen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Settings.py
parent
136ab381
Pipeline
#3152
canceled with stages
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
2 deletions
+4
-2
models.cpython-311.pyc
...nito_reading/bookshelf/__pycache__/models.cpython-311.pyc
+0
-0
urls.cpython-311.pyc
...benito_reading/bookshelf/__pycache__/urls.cpython-311.pyc
+0
-0
views.cpython-311.pyc
...enito_reading/bookshelf/__pycache__/views.cpython-311.pyc
+0
-0
settings.cpython-311.pyc
...g/joshbenito_reading/__pycache__/settings.cpython-311.pyc
+0
-0
urls.cpython-311.pyc
...ading/joshbenito_reading/__pycache__/urls.cpython-311.pyc
+0
-0
settings.py
joshbenito_reading/joshbenito_reading/settings.py
+4
-2
No files found.
joshbenito_reading/bookshelf/__pycache__/models.cpython-311.pyc
View file @
02206487
No preview for this file type
joshbenito_reading/bookshelf/__pycache__/urls.cpython-311.pyc
0 → 100644
View file @
02206487
File added
joshbenito_reading/bookshelf/__pycache__/views.cpython-311.pyc
0 → 100644
View file @
02206487
File added
joshbenito_reading/joshbenito_reading/__pycache__/settings.cpython-311.pyc
View file @
02206487
No preview for this file type
joshbenito_reading/joshbenito_reading/__pycache__/urls.cpython-311.pyc
View file @
02206487
No preview for this file type
joshbenito_reading/joshbenito_reading/settings.py
View file @
02206487
...
@@ -9,9 +9,11 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
...
@@ -9,9 +9,11 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
For the full list of settings and their values, see
For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
https://docs.djangoproject.com/en/4.1/ref/settings/
"""
"""
import
os
from
pathlib
import
Path
from
pathlib
import
Path
from
dotenv
import
load_dotenv
load_dotenv
()
# 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 +22,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
...
@@ -20,7 +22,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
# See https://docs.djangoproject.com/en/4.1/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-t@9(xjg=(jke!z3zy+__)uikkuy(s@0q0_5e8&!4d
%
z57o#=ka'
SECRET_KEY
=
os
.
getenv
(
'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