Commit e63a5330 authored by Trisha Angel Millena's avatar Trisha Angel Millena

Created a new branch named lab02

parent 6db500b2
......@@ -10,9 +10,9 @@
BS CS\
CSCI 40- C\
\
Lab 1\
Song Library\
Feb 13, 2023\
Lab 2\
Song Library v2\
Feb 20, 2023\
\
I truthfully accomplished the lab by myself\
<sgd> Trisha Angel Pangilinan Millena, February 13, 2023}
\ No newline at end of file
This is to certify I truthfully completed the lab.\
<sgd> Trisha Angel Pangilinan Millena, February 20, 2023}
\ No newline at end of file
......@@ -2,7 +2,7 @@ from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
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('These days, I am into R&B/Soul music but most of the time, I listen to KPOP.')
......@@ -2,6 +2,6 @@ from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
path('', index, name = 'index'),
]
app_name = "Contact"
\ 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('Email: trishaaaaa1223@gmail.com Number: 09123223567')
\ No newline at end of file
return HttpResponse('Email: trishaaaaa1223@gmail.com')
\ No newline at end of file
from django.db import models
# Create your models here.
class Artist(models.Model):
artist_name = models.CharField(max_length=100)
monthly_listeners = models.IntegerField()
......
......@@ -2,7 +2,7 @@ from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
path('', index, name = 'index'),
]
app_name = "Homepage"
from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def index(request):
return HttpResponse("Welcome to Trisha's Music Library!")
......@@ -17,9 +17,9 @@ from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('homepage/', include ('Homepage.urls', namespace="Homepage")),
path('about/', include ('About.urls', namespace="About")),
path('contact/', include ('Contact.urls', namespace="Contact")),
path('homepage/', include ('Homepage.urls', namespace = "Homepage")),
path('about/', include ('About.urls', namespace = "About")),
path('contact/', include ('Contact.urls', namespace = "Contact")),
path('admin/', admin.site.urls),
]
......
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