projects
/
pgcommitfest2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
193a940
)
Add comment
author
Magnus Hagander
<magnus@hagander.net>
Sun, 18 Aug 2013 16:17:22 +0000
(18:17 +0200)
committer
Magnus Hagander
<magnus@hagander.net>
Sun, 18 Aug 2013 16:17:22 +0000
(18:17 +0200)
pgcommitfest/commitfest/views.py
patch
|
blob
|
blame
|
history
diff --git
a/pgcommitfest/commitfest/views.py
b/pgcommitfest/commitfest/views.py
index 15c342b4d281389721950b37a84f7a9c29b24af9..82ff8f167c3f4af3f893fde1381cc77f2e4c76f0 100644
(file)
--- a/
pgcommitfest/commitfest/views.py
+++ b/
pgcommitfest/commitfest/views.py
@@
-63,6
+63,8
@@
def commitfest(request, cfid):
'is_open':'commitfest_patchoncommitfest.status IN (%s)' % ','.join([str(x) for x in PatchOnCommitFest.OPEN_STATUSES]),
}).order_by('-is_open', 'topic__topic', 'created')
+ # Generates a fairly expensive query, which we shouldn't do unless
+ # the user is logged in. XXX: Figure out how to avoid doing that..
form = CommitFestFilterForm(cf, request.GET)
return render_to_response('commitfest.html', {