Commit f101d294 authored by Ysobel Vera's avatar Ysobel Vera

Made the about app

Made content for the about app.
Issue: The code runs with no error but the content I wrote for the about app is not appearing on the website.
parent 14f7b403
......@@ -2,4 +2,7 @@ from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse('Hello World! This came from the index view')
\ No newline at end of file
return HttpResponse('My name is Yso and I like to sleep, read stuff,' +
'and binge watch shows in my free time. I also like listening to music every now and then.' +
'I enjoy listening to pop, original musical soundtracks, rock and roll, country, ' +
'and rap sometimes. Recently, I have been listening to a lot of music from Taylor Swift')
\ No newline at end of file
No preview for this file type
from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def index(request):
......
......@@ -18,5 +18,6 @@ from django.urls import include, path
urlpatterns = [
path('admin/', admin.site.urls),
path('', include('homepage.urls', namespace="homepage")),
path('', include('homepage.urls', namespace='homepage')),
path('', include('about.urls', namespace='about')),
]
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