summaryrefslogtreecommitdiff
path: root/todolists/views.py
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-23 13:44:31 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-23 13:44:31 -0600
commit532ea5509c32d4cd1c234b1dee3799fbe550e3ef (patch)
treeea5f0db8973e3b266c12b7ea0ada9a52996727aa /todolists/views.py
parent5bfa5b7eee551c14ecee616f1830dc4603497311 (diff)
parent0aa246b85159bf627873308868cf169868cba569 (diff)
Merge branch 'archweb-generic2'
Diffstat (limited to 'todolists/views.py')
-rw-r--r--todolists/views.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/todolists/views.py b/todolists/views.py
index b6d3c25f..6c117473 100644
--- a/todolists/views.py
+++ b/todolists/views.py
@@ -72,12 +72,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):