Commit c78c19c6 authored by justin's avatar justin

Created views + urls per app

parent e053f363
from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="about"),
]
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse(
"Hi, I'm Justin. I like pop, rnb, and recently I've been listening to 80's and 90's music."
)
from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="contact"),
]
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse(
"Justin Reyes. 123 St. 09178101530. justin.carlo.reyes@obf.ateneo.edu"
)
from django.urls import path
from . import views
urlpatterns = [
path("", views.index, name="homepage"),
]
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Welcome to Justin'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