queryset compat django<=1.4