Commit 8bc85999 authored by Albert's avatar Albert

Added the apps needed for No.2

parent 08ecd3a0
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
# Create your views here.
from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def index(request):
return HttpResponse('I'm really into a lot of music styles, but as of right now, I actively listen to a lot of Electronic music, J-pop/rock, and K-rnb. (plus some New Jeans)')
\ No newline at end of file
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class ContactConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "contact"
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 = "contact"
\ No newline at end of file
from django.shortcuts import render
# Create your views here.
from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def index(request):
return HttpResponse('Contact me at my phone number!: +639420694242')
\ No newline at end of file
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class HomepageConfig(AppConfig):
default_auto_field = "django.db.models.BigAutoField"
name = "homepage"
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 = "homepage"
\ No newline at end of file
from django.shortcuts import render
# Create your views here.
from django.shortcuts import render
# Create your views here.
from django.http import HttpResponse
def index(request):
return HttpResponse('Welcome to Albert's Music Library!')
\ 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