From f2ad003c12123f91c0d1d3cb21d4c2a3bfdfbadd Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 25 Sep 2008 09:17:00 +1000 Subject: [PATCH] [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 --- apps/patchwork/views/bundle.py | 4 ++-- 1 file 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) -- 2.39.2