Support get queryset method in django before and after 1.6