summaryrefslogtreecommitdiffstats
path: root/lib/sql/grant-all.postgres.sql
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2012-06-17 16:06:37 +0800
committerJeremy Kerr <jk@ozlabs.org>2012-06-17 16:10:12 +0800
commit7a79c1a2e4b2ceaf2668fa671f2db98c0de7b724 (patch)
treecebb809dc635b7276087553f2d18a135b47b31ff /lib/sql/grant-all.postgres.sql
parent016c66b8eb294314235c0df004c20c88bf5ead64 (diff)
downloadpatchwork-7a79c1a2e4b2ceaf2668fa671f2db98c0de7b724.tar.bz2
patchwork-7a79c1a2e4b2ceaf2668fa671f2db98c0de7b724.tar.xz
templates: Don't rely on bool(Page)
The behaviour of bool(Page) changed in django 1.4 - it no longer evaluates to False when page has no objects. When checking for an empty patch list, use page.paginator.count. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/sql/grant-all.postgres.sql')
0 files changed, 0 insertions, 0 deletions