Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
joei_yucoco_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
Joei Yucoco
joei_yucoco_music
Commits
6b51bf36
Commit
6b51bf36
authored
Feb 13, 2023
by
Joei Yucoco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created functions in views.py and urls.py that maps them to each other
parent
87a71373
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
0 deletions
+13
-0
.DS_Store
.DS_Store
+0
-0
.DS_Store
joei_yucoco_music/.DS_Store
+0
-0
urls.py
joei_yucoco_music/Homepage/urls.py
+8
-0
views.py
joei_yucoco_music/Homepage/views.py
+5
-0
No files found.
.DS_Store
View file @
6b51bf36
No preview for this file type
joei_yucoco_music/.DS_Store
View file @
6b51bf36
No preview for this file type
joei_yucoco_music/Homepage/urls.py
View file @
6b51bf36
from
django.shortcuts
import
render
from
django.urls
import
path
from
.views
import
index
urlpatterns
=
[
path
(
''
,
index
,
name
=
'index'
),
]
app_name
=
"Homepage"
# Create your views here.
joei_yucoco_music/Homepage/views.py
View file @
6b51bf36
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
def
index
(
request
):
return
HttpResponse
(
'Welcome to Joei’s Music Library!'
)
# Create your views here.
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