Support old name get_query_set of get_queryset for Django < 1.6. Removed dict comprehension for python < 2.7.