created apps/dashboard/list.html template (for now, mirrors home.html); changes ListViewTest() to DashViewTest() in apps.dashboard.tests; added new list template test to same; updated view_list() FBV in .views to accomodate this new template
This commit is contained in:
@@ -11,4 +11,4 @@ def home_page(request):
|
||||
|
||||
def view_list(request):
|
||||
items = Item.objects.all()
|
||||
return render(request, 'apps/dashboard/home.html', {'items': items})
|
||||
return render(request, 'apps/dashboard/list.html', {'items': items})
|
||||
Reference in New Issue
Block a user