Changes between Version 122 and Version 123 of BackwardsIncompatibleChanges
- Timestamp:
- Sep 9, 2007, 5:21:21 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v122 v123 360 360 == archive_year generic view no longer performs an order_by() on the passed queryset == 361 361 362 For consistancy with the other date-based generic views, `archive_year` was changed to not perform an `order_by()` on the passed queryset. Update your code by performing an explicit `order_by()` on the queryset you pass to `archive_year` or add an `ordering` option to your model's `class Meta`. 362 In [6057], {{{archive_year}}} was changed NOT to perform an {{{order_by()}}} on the passed queryset. This is for consistancy with the other date-based generic views. 363 364 Update your code by performing an explicit {{{order_by()}}} on the {{{QuerySet}}} you pass to {{{archive_year}}} or add an {{{ordering}}} option to your model's {{{class Meta}}}.