Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jenicavizmanos_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
Jenica Vizmanos
jenicavizmanos_reading
Commits
d5f4ebcd
Commit
d5f4ebcd
authored
Mar 28, 2023
by
Jenica Vizmanos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created .env file and modified settings.py to configure the settings
parent
5f97c416
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
6 additions
and
2 deletions
+6
-2
.env
jenicavizmanos_reading/.env
+1
-0
db.sqlite3
jenicavizmanos_reading/db.sqlite3
+0
-0
__init__.cpython-39.pyc
...enicavizmanos_reading/__pycache__/__init__.cpython-39.pyc
+0
-0
settings.cpython-39.pyc
...enicavizmanos_reading/__pycache__/settings.cpython-39.pyc
+0
-0
urls.cpython-39.pyc
...ng/jenicavizmanos_reading/__pycache__/urls.cpython-39.pyc
+0
-0
wsgi.cpython-39.pyc
...ng/jenicavizmanos_reading/__pycache__/wsgi.cpython-39.pyc
+0
-0
settings.py
jenicavizmanos_reading/jenicavizmanos_reading/settings.py
+5
-2
No files found.
jenicavizmanos_reading/.env
0 → 100644
View file @
d5f4ebcd
SECRET_KEY = "django-insecure-d2p(g96a!b$70)-4b1#3_+%is+gvs9cuw*l!y$@itryabj-b&w"
\ No newline at end of file
jenicavizmanos_reading/db.sqlite3
0 → 100644
View file @
d5f4ebcd
jenicavizmanos_reading/jenicavizmanos_reading/__pycache__/__init__.cpython-39.pyc
0 → 100644
View file @
d5f4ebcd
File added
jenicavizmanos_reading/jenicavizmanos_reading/__pycache__/settings.cpython-39.pyc
0 → 100644
View file @
d5f4ebcd
File added
jenicavizmanos_reading/jenicavizmanos_reading/__pycache__/urls.cpython-39.pyc
0 → 100644
View file @
d5f4ebcd
File added
jenicavizmanos_reading/jenicavizmanos_reading/__pycache__/wsgi.cpython-39.pyc
0 → 100644
View file @
d5f4ebcd
File added
jenicavizmanos_reading/jenicavizmanos_reading/settings.py
View file @
d5f4ebcd
...
...
@@ -9,8 +9,11 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
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 +23,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-d2p(g96a!b$70)-4b1#3_+
%
is+gvs9cuw*l!y$@itryabj-b&w"
SECRET_KEY
=
os
.
getenv
(
'SECRET_KEY'
)
# SECURITY WARNING: don't run with debug turned on in production!
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