Commit f55a7a85 authored by Joei Yucoco's avatar Joei Yucoco

created mapping functions in About's urls and views

parent b8f0639a
No preview for this file type
from django.shortcuts import render
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "About"
from django.shortcuts import render from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse('I like listening to Vocaloid')
# Create your views here. # Create your views here.
...@@ -8,4 +8,3 @@ path('', index, name='index'), ...@@ -8,4 +8,3 @@ path('', index, name='index'),
app_name = "Homepage" app_name = "Homepage"
# Create your views here.
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