Changes between Version 122 and Version 123 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Sep 9, 2007, 5:21:21 PM (17 years ago)
Author:
Adrian Holovaty
Comment:

Edited [6057] change

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v122 v123  
    360360== archive_year generic view no longer performs an order_by() on the passed queryset ==
    361361
    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`.
     362In [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
     364Update 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}}}.
Back to Top