Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bellapanghulan_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
Ysabella Panghulan
bellapanghulan_music
Commits
a3964d00
Commit
a3964d00
authored
Feb 13, 2023
by
Ysabella Panghulan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edited views.py and created urls.py for homepage app
parent
86c89ed7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
3 deletions
+12
-3
urls.cpython-310.pyc
...sic/bellapanghulan_music/__pycache__/urls.cpython-310.pyc
+0
-0
urls.py
bellapanghulan_music/bellapanghulan_music/urls.py
+2
-1
__init__.cpython-310.pyc
...hulan_music/homepage/__pycache__/__init__.cpython-310.pyc
+0
-0
urls.cpython-310.pyc
...panghulan_music/homepage/__pycache__/urls.cpython-310.pyc
+0
-0
views.cpython-310.pyc
...anghulan_music/homepage/__pycache__/views.cpython-310.pyc
+0
-0
urls.py
bellapanghulan_music/homepage/urls.py
+7
-0
views.py
bellapanghulan_music/homepage/views.py
+3
-2
No files found.
bellapanghulan_music/bellapanghulan_music/__pycache__/urls.cpython-310.pyc
View file @
a3964d00
No preview for this file type
bellapanghulan_music/bellapanghulan_music/urls.py
View file @
a3964d00
...
...
@@ -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
(
'homepage/'
,
include
(
'homepage.urls'
)),
path
(
'admin/'
,
admin
.
site
.
urls
),
]
bellapanghulan_music/homepage/__pycache__/__init__.cpython-310.pyc
0 → 100644
View file @
a3964d00
File added
bellapanghulan_music/homepage/__pycache__/urls.cpython-310.pyc
0 → 100644
View file @
a3964d00
File added
bellapanghulan_music/homepage/__pycache__/views.cpython-310.pyc
0 → 100644
View file @
a3964d00
File added
bellapanghulan_music/homepage/urls.py
0 → 100644
View file @
a3964d00
from
django.urls
import
path
from
.
import
views
urlpatterns
=
[
path
(
''
,
views
.
index
,
name
=
'homepage'
),
]
\ No newline at end of file
bellapanghulan_music/homepage/views.py
View file @
a3964d00
from
django.
shortcuts
import
render
from
django.
http
import
HttpResponse
# Create your views here.
def
index
(
request
):
return
HttpResponse
(
'Welcome to Bella’s Music Library!'
)
\ No newline at end of file
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