Commit ec340022 authored by Jiuvi Anne Hu's avatar Jiuvi Anne Hu

Made changes to homepage, about, and contact.

parent e35c0363
...@@ -35,6 +35,9 @@ ALLOWED_HOSTS = [] ...@@ -35,6 +35,9 @@ ALLOWED_HOSTS = []
# Application definition # Application definition
INSTALLED_APPS = [ INSTALLED_APPS = [
'homepage',
'about',
'contact',
'django.contrib.admin', 'django.contrib.admin',
'django.contrib.auth', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.contenttypes',
......
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 music taste is primarily composed of game soundtracks, as they're the easiest for me to get into. My preferences lean towards metal, though high energy tracks are also part of what I like. Therefore, most of the music in the database are boss themes, with one final level type track. There is an exception to this, the last track, because it's tied to an emotional scene and it's special to me.")
# Create your views here. # 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
def index (request):
return HttpResponse("Name: Volt <br> Email: asdf@gmail.com <br> Phone Number: 0968 458 123")
# Create your views here. # Create your views here.
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "homepage"
\ 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("Welcome to Volt's Music Library!")
# Create your views here. # 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