Added view urls for about and contact

parent 8a7d4032
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "about"
\ No newline at end of file
from django.shortcuts import render from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("My favorite genres are usually game OSTs and some hiphop songs. Artists that I usually "
"listen to are J Cole, Hiroyuki Sawano and J^KE.")
# Create your views here.
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "contact"
\ 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.
def index(request):
return HttpResponse("My email is imdeadbruh@jeemail.com. My phone number is 09694206969. My address is 10 San Han "
"Street , WHATTOPUT Sbd., Juley City, Pelepinas")
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