Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
drewidquival_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
Andrew Justin C. Idquival
drewidquival_music
Commits
8a7d4032
Commit
8a7d4032
authored
Mar 01, 2023
by
Andrew Justin C. Idquival
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Coded in views for homepage
parent
a763cc47
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
3 deletions
+8
-3
db.sqlite3
drewidquival_music/db.sqlite3
+0
-0
.env
drewidquival_music/drewidquival_music/.env
+1
-0
__init__.cpython-310.pyc
...c/drewidquival_music/__pycache__/__init__.cpython-310.pyc
+0
-0
settings.cpython-310.pyc
...c/drewidquival_music/__pycache__/settings.cpython-310.pyc
+0
-0
urls.cpython-310.pyc
...music/drewidquival_music/__pycache__/urls.cpython-310.pyc
+0
-0
wsgi.cpython-310.pyc
...music/drewidquival_music/__pycache__/wsgi.cpython-310.pyc
+0
-0
settings.py
drewidquival_music/drewidquival_music/settings.py
+5
-2
urls.py
drewidquival_music/drewidquival_music/urls.py
+2
-1
No files found.
drewidquival_music/db.sqlite3
0 → 100644
View file @
8a7d4032
drewidquival_music/drewidquival_music/.env
0 → 100644
View file @
8a7d4032
SECRET_KEY = 'django-insecure-0pt=@2^l1v12_mnynbj4#mm=cn@7r18a9cp#1q&w(b!xer%x(-'
\ No newline at end of file
drewidquival_music/drewidquival_music/__pycache__/__init__.cpython-310.pyc
0 → 100644
View file @
8a7d4032
File added
drewidquival_music/drewidquival_music/__pycache__/settings.cpython-310.pyc
0 → 100644
View file @
8a7d4032
File added
drewidquival_music/drewidquival_music/__pycache__/urls.cpython-310.pyc
0 → 100644
View file @
8a7d4032
File added
drewidquival_music/drewidquival_music/__pycache__/wsgi.cpython-310.pyc
0 → 100644
View file @
8a7d4032
File added
drewidquival_music/drewidquival_music/settings.py
View file @
8a7d4032
...
...
@@ -9,8 +9,11 @@ https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/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/3.2/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
'django-insecure-0pt=@2^l1v12_mnynbj4#mm=cn@7r18a9cp#1q&w(b!xer
%
x(-'
SECRET_KEY
=
os
.
getenv
(
'SECRET_KEY'
)
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG
=
True
...
...
drewidquival_music/drewidquival_music/urls.py
View file @
8a7d4032
...
...
@@ -14,8 +14,9 @@ Including another URLconf
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
"""
from
django.contrib
import
admin
from
django.urls
import
path
from
django.urls
import
include
,
path
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'homepage/'
,
include
(
'homepage.urls'
,
namespace
=
"homepage"
)),
]
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