summaryrefslogtreecommitdiffstats
path: root/apps/patchwork/views/bundle.py
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-09-25 09:17:00 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-09-25 10:59:37 +1000
commitf2ad003c12123f91c0d1d3cb21d4c2a3bfdfbadd (patch)
tree7604ae04e2a437ca156f0862b0f361e019563521 /apps/patchwork/views/bundle.py
parente43db080161c69c5497f4fb153628dc50c22cd62 (diff)
downloadpatchwork-f2ad003c12123f91c0d1d3cb21d4c2a3bfdfbadd.tar.bz2
patchwork-f2ad003c12123f91c0d1d3cb21d4c2a3bfdfbadd.tar.xz
[views] Don't use bundle owner for current user
This made the top auth area show the bundle owner's details, not the bundle owner's. Bundle owner can still be accessed through bundle.owner in the template. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/patchwork/views/bundle.py')
-rw-r--r--apps/patchwork/views/bundle.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/patchwork/views/bundle.py b/apps/patchwork/views/bundle.py
index 5f990c4..d8e4e2f 100644
--- a/apps/patchwork/views/bundle.py
+++ b/apps/patchwork/views/bundle.py
@@ -173,6 +173,6 @@ def public(request, username, bundlename):
filter_settings = filter_settings,
patches = bundle.patches.all())
- context.update({'bundle': bundle,
- 'user': user});
+ context['bundle'] = bundle
+
return render_to_response('patchwork/bundle-public.html', context)