diff options
Diffstat (limited to 'todolists/views.py')
-rw-r--r-- | todolists/views.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/todolists/views.py b/todolists/views.py index d5b3993..ff75686 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -71,12 +71,13 @@ def view(request, slug): attach_staging(todolist.packages(), todolist.pk) arches = {tp.arch for tp in todolist.packages()} repos = {tp.repo for tp in todolist.packages()} - return render(request, 'todolists/view.html', { + context = { 'list': todolist, 'svn_roots': svn_roots, 'arches': sorted(arches), 'repos': sorted(repos), - }) + } + return render(request, 'todolists/view.html', context) def list_pkgbases(request, slug, svn_root): |