Commit 8b8494d6 authored by Cheska Hung's avatar Cheska Hung

changed routing of HTML template file

parent cf055333
from django.shortcuts import HttpResponse from .models import Department
from django.views import generic
def index(request): class DepartmentView(generic.ListView):
return HttpResponse("Welcome to Cheska's Music Library!") model = Department
template_name = 'Dashboard/Dashboard.html'
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