From 2d0aa58c77d8dbf6a593494a631f71bfc778bb8b Mon Sep 17 00:00:00 2001 From: George Lacey Date: Thu, 10 Jun 2021 06:28:15 +0100 Subject: [PATCH] Remove path display from index --- borgweb/borg/views/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/borgweb/borg/views/views.py b/borgweb/borg/views/views.py index 31b4de5..085f79c 100644 --- a/borgweb/borg/views/views.py +++ b/borgweb/borg/views/views.py @@ -1,14 +1,12 @@ from django.shortcuts import render, get_object_or_404 -from ..models import Repo, Location +from ..models import Repo def index(request): repo_list = Repo.objects.all() - location_list = Location.objects.all() context = { 'repo_list': repo_list, - 'location_list': location_list, } return render(request, 'borg/index.html', context)