Commit ab9752dd authored by Lay Villanueva's avatar Lay Villanueva

created about app

It contains a brief information about me and my music preference
parent ed394244
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class AboutConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'about'
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
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.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("""Hello! I'm Lay Villanueva, a nineteen-year-old music lover <br>
who enjoys a wide range of music: from punk rock to disney songs. <br>
I choose the genre that I would listen to for the day <br>
depending on the activity that I will be doing. <br>
I usually listen to Hozier for chill vibes while studying.""")
\ No newline at end of file
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