Changes between Version 121 and Version 122 of BackwardsIncompatibleChanges
- Timestamp:
- Sep 6, 2007, 11:19:53 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v121 v122 35 35 * [5898] Aug. 16, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Changestomanagement.pycommands Changes to management.py commands ] 36 36 * (Multiple) Aug. 19, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Refactoreddatabasebackends Refactored database backends] 37 * [6057] Sept. 6, 2007: [http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#archive_yeargenericviewnolongerperformsanorder_byonthepassedqueryset archive_year generic view no longer performs an order_by() on the passed queryset] 37 38 38 39 … … 356 357 || {{{django.db.backend.uses_case_insensitive_names}}} || {{{django.db.connection.features.uses_case_insensitive_names}}} || 357 358 || {{{django.db.backend.uses_custom_queryset}}} || {{{django.db.connection.features.uses_custom_queryset}}} || 359 360 == archive_year generic view no longer performs an order_by() on the passed queryset == 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`.