Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nich_pardines_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
Nicholo Patrick C. Pardines
nich_pardines_music
Commits
05b38829
Commit
05b38829
authored
Feb 13, 2023
by
Nicholo Pardines
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initialized values for http responses in about, contact, and homepage views
parent
9a4de666
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
views.py
nich_pardines_music/about/views.py
+7
-1
views.py
nich_pardines_music/contact/views.py
+4
-1
views.py
nich_pardines_music/homepage/views.py
+4
-1
No files found.
nich_pardines_music/about/views.py
View file @
05b38829
from
django.shortcuts
import
render
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
# Create your views here.
def
greeting
(
request
):
return
HttpResponse
(
"Hi I'm Nick!
\n
"
+
"My favorite genres are punk and indie-folk"
)
nich_pardines_music/contact/views.py
View file @
05b38829
from
django.shortcuts
import
render
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
# Create your views here.
def
contactInfo
(
request
):
return
(
"Contact me here: 09778570806"
)
\ No newline at end of file
nich_pardines_music/homepage/views.py
View file @
05b38829
from
django.shortcuts
import
render
from
django.shortcuts
import
render
from
django.http
import
HttpResponse
# Create your views here.
# Create your views here.
def
greeting
(
request
):
return
HttpResponse
(
"Welcome to Nich's Music Library"
)
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