diff options
author | Magnus Hagander | 2015-02-04 20:01:17 +0000 |
---|---|---|
committer | Magnus Hagander | 2015-02-04 20:01:17 +0000 |
commit | 12de0f70e0bd94b2ffccc347df2420cd5cf5ecb4 (patch) | |
tree | 8675ed09726abd13c920d1ec05a2d35256cd5cf4 /pgcommitfest/commitfest/views.py | |
parent | 381c48a49d469b1a94f9d5bf59ede6a35e752af9 (diff) |
Fix attaching of threads whe not logged in
This needs to redirect to the login page and back, so the user is
actually logged in when attaching. This was only partially ipmlemented
before, it turns out.
Diffstat (limited to 'pgcommitfest/commitfest/views.py')
-rw-r--r-- | pgcommitfest/commitfest/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py index b11ee88..3e0dcd1 100644 --- a/pgcommitfest/commitfest/views.py +++ b/pgcommitfest/commitfest/views.py @@ -207,6 +207,7 @@ def patch(request, cfid, patchid): 'is_this_committer': is_this_committer, 'is_reviewer': is_reviewer, 'committers': committers, + 'attachnow': request.GET.has_key('attachthreadnow'), 'title': patch.name, 'breadcrumbs': [{'title': cf.title, 'href': '/%s/' % cf.pk},], }, context_instance=RequestContext(request)) |