Commit 05b38829 authored by Nicholo Pardines's avatar Nicholo Pardines

Initialized values for http responses in about, contact, and homepage views

parent 9a4de666
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")
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
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")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment