upgrading tests for queries
Merge branch 'master' of github.com:paulovillani/camprulho

Conflicts:
	portal/class_views.py