From: Magnus Hagander Date: Sun, 18 Aug 2013 16:17:22 +0000 (+0200) Subject: Add comment X-Git-Url: http://git.postgresql.org/gitweb/-?a=commitdiff_plain;h=a17c99cafe74453dd6b87b257837b18e46a4390d;p=pgcommitfest2.git Add comment --- diff --git a/pgcommitfest/commitfest/views.py b/pgcommitfest/commitfest/views.py index 15c342b..82ff8f1 100644 --- 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', {