Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
brendanfausto_music
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
Brendan Fausto
brendanfausto_music
Commits
878474b9
Commit
878474b9
authored
Feb 16, 2023
by
Brendan Fausto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.env file created
parent
60a81012
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
.env
brendanfausto_music/.env
+1
-0
settings.py
brendanfausto_music/brendanfausto_music/settings.py
+6
-0
No files found.
brendanfausto_music/.env
0 → 100644
View file @
878474b9
SECRET_KEY = 'django-insecure-9doygmz7r7a0kwe@csh50kn(2_j1_&g)x-c+a!-d)ubas8f3rz'
\ No newline at end of file
brendanfausto_music/brendanfausto_music/settings.py
View file @
878474b9
...
@@ -9,8 +9,14 @@ https://docs.djangoproject.com/en/4.1/topics/settings/
...
@@ -9,8 +9,14 @@ 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
...
...
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