Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
stefan_gomez_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
Stefan Gomez
stefan_gomez_reading
Commits
488a3d1c
Commit
488a3d1c
authored
Mar 27, 2023
by
Stefan Gomez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated the settings.py to add the bookshelf app
parent
e4afc3ca
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
1 deletion
+8
-1
.env
stefan_gomez_reading/.env
+1
-0
db.sqlite3
stefan_gomez_reading/db.sqlite3
+0
-0
wsgi.cpython-311.pyc
...ing/stefan_gomez_reading/__pycache__/wsgi.cpython-311.pyc
+0
-0
settings.py
stefan_gomez_reading/stefan_gomez_reading/settings.py
+7
-1
No files found.
stefan_gomez_reading/.env
0 → 100644
View file @
488a3d1c
SECRET_KEY = 'django-insecure-dg+c$e^v#y%c1p8pzl7g+kr*q3h3ygb&ny(3_a)ee9oqhfkv(v'
\ No newline at end of file
stefan_gomez_reading/db.sqlite3
View file @
488a3d1c
No preview for this file type
stefan_gomez_reading/stefan_gomez_reading/__pycache__/wsgi.cpython-311.pyc
0 → 100644
View file @
488a3d1c
File added
stefan_gomez_reading/stefan_gomez_reading/settings.py
View file @
488a3d1c
...
...
@@ -10,7 +10,12 @@ For the full list of settings and their values, see
https://docs.djangoproject.com/en/4.1/ref/settings/
"""
import
os
from
pathlib
import
Path
from
dotenv
import
load_dotenv
load_dotenv
()
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR
=
Path
(
__file__
)
.
resolve
()
.
parent
.
parent
...
...
@@ -20,7 +25,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# See https://docs.djangoproject.com/en/4.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'django-insecure-dg+c$e^v#y
%
c1p8pzl7g+kr*q3h3ygb&ny(3_a)ee9oqhfkv(v'
SECRET_KEY
=
os
.
getenv
(
'SECRET_KEY'
)
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
...
...
@@ -37,6 +42,7 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'bookshelf'
,
]
MIDDLEWARE
=
[
...
...
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