Commit 5d14fb62 authored by Almira Redoble's avatar Almira Redoble

Added urls.py and created view for homepage app

parent 6dd091fa
from django.urls import path
from .views import index
urlpatterns = [
path('', index, name='index'),
]
app_name = "homepage"
from django.shortcuts import render from django.shortcuts import render
from django.http import HttpResponse
def index(request):
return HttpResponse("Welcome to Almira'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