Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jak_hermosisima_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
Joaquin Hermosisima
jak_hermosisima_music
Commits
3eb7e930
Commit
3eb7e930
authored
Feb 17, 2023
by
Joaquin Hermosisima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
3 apps finished with complete urls and views mapping
parent
6729b597
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
1 deletion
+37
-1
urls.py
jak_hermosisima_music/about/urls.py
+6
-0
views.py
jak_hermosisima_music/about/views.py
+4
-0
urls.py
jak_hermosisima_music/contact/urls.py
+6
-0
views.py
jak_hermosisima_music/contact/views.py
+4
-0
db.sqlite3
jak_hermosisima_music/db.sqlite3
+0
-0
urls.py
jak_hermosisima_music/homepage/urls.py
+6
-0
views.py
jak_hermosisima_music/homepage/views.py
+4
-0
settings.py
jak_hermosisima_music/jak_hermosisima_music/settings.py
+3
-0
urls.py
jak_hermosisima_music/jak_hermosisima_music/urls.py
+4
-1
No files found.
jak_hermosisima_music/about/urls.py
0 → 100644
View file @
3eb7e930
from
django.urls
import
path
from
about
import
views
urlpatterns
=
[
path
(
''
,
views
.
about_info
)
]
\ No newline at end of file
jak_hermosisima_music/about/views.py
View file @
3eb7e930
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
def
about_info
(
request
):
return
HttpResponse
(
"This is my about info"
)
jak_hermosisima_music/contact/urls.py
0 → 100644
View file @
3eb7e930
from
django.urls
import
path
from
contact
import
views
urlpatterns
=
[
path
(
''
,
views
.
contact_info
)
]
\ No newline at end of file
jak_hermosisima_music/contact/views.py
View file @
3eb7e930
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
def
contact_info
(
request
):
return
HttpResponse
(
"This is my contact info"
)
jak_hermosisima_music/db.sqlite3
0 → 100644
View file @
3eb7e930
jak_hermosisima_music/homepage/urls.py
0 → 100644
View file @
3eb7e930
from
django.urls
import
path
from
homepage
import
views
urlpatterns
=
[
path
(
''
,
views
.
home_info
)
]
\ No newline at end of file
jak_hermosisima_music/homepage/views.py
View file @
3eb7e930
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
def
home_info
(
request
):
return
HttpResponse
(
"Welcome to Jak's Music Library!"
)
jak_hermosisima_music/jak_hermosisima_music/settings.py
View file @
3eb7e930
...
...
@@ -37,6 +37,9 @@ INSTALLED_APPS = [
'django.contrib.sessions'
,
'django.contrib.messages'
,
'django.contrib.staticfiles'
,
'about'
,
'contact'
,
'homepage'
,
]
MIDDLEWARE
=
[
...
...
jak_hermosisima_music/jak_hermosisima_music/urls.py
View file @
3eb7e930
...
...
@@ -14,8 +14,11 @@ 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
path
,
include
urlpatterns
=
[
path
(
'admin/'
,
admin
.
site
.
urls
),
path
(
'homepage/'
,
include
(
'homepage.urls'
)),
path
(
'about/'
,
include
(
'about.urls'
)),
path
(
'contact/'
,
include
(
'contact.urls'
))
]
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