Ticket #3264: respect_model_ordering.diff
File respect_model_ordering.diff, 463 bytes (added by , 18 years ago) |
---|
-
date_based.py
76 76 if not date_list and not allow_empty: 77 77 raise Http404 78 78 if make_object_list: 79 object_list = queryset.filter(**lookup_kwargs) .order_by(date_field)79 object_list = queryset.filter(**lookup_kwargs) 80 80 else: 81 81 object_list = [] 82 82 if not template_name: