cidadania/e-cidadania — pull request #99 by he116ra1n (2012-06-17 12:07:25+00:00)
Title: Enhanced query syntax in the model's view.py 

replaced Object.objects.all().query(...) by Object.objects.query(...).
https://docs.djangoproject.com/en/1.4/topics/db/queries/#retrieving-specific-objects-with-filters