diff options
author | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2013-12-12 18:03:47 +0100 |
---|---|---|
committer | Sebastian Spaeth <Sebastian@SSpaeth.de> | 2013-12-12 18:03:47 +0100 |
commit | 461cd7c10d67e04cde4155f32bcd13d174318ba2 (patch) | |
tree | 06771a1385b6857739619fd332ae75fc2b8f5598 /setup.py | |
parent | c518d5421d2a0861cc3ad3791bae6d3a63ca39bc (diff) | |
download | mediagoblin-461cd7c10d67e04cde4155f32bcd13d174318ba2.tar.lz mediagoblin-461cd7c10d67e04cde4155f32bcd13d174318ba2.tar.xz mediagoblin-461cd7c10d67e04cde4155f32bcd13d174318ba2.zip |
Force evaluation of Query() through count()
Otherwise "blogs" is a query that evaluates to true, even if the user
has no blogs. This fixes the bug that the blog link is shown on a user's
profile page even if she has no blogs at all.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions