Changes between Version 246 and Version 247 of BackwardsIncompatibleChanges
- Timestamp:
- Aug 25, 2008, 7:36:29 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified BackwardsIncompatibleChanges
v246 v247 81 81 * [8348] Aug 14, 2008 [#RemovedvalidatemethodsforModelandModelfieldclasses Removed validate methods for Model and Model field classes] 82 82 * [8399] Aug 15, 2008 [#CorrectedMultiValueDict.iteritemstoreturnitemsratherthanlists Corrected MultiValueDict.iteritems to return items rather than lists] 83 * [8535] Aug 25, 2008 [#Correctedresultsreturnedbytimesincetemplatefilters Corrected results returned by timesince template filters] 84 83 85 == Changed 'spaceless' template tag to remove all spaces == 84 86 … … 1280 1282 print key, v 1281 1283 }}} 1284 1285 == Corrected results returned by timesince template filters == 1286 1287 Previous to [8535], if an optional argument was used with the timesince filter to specify a baseline date for comparison, the results returned by the timesince filter would act the same as the timeuntil filter. For example, `{{ tomorrow|timesince:today }}` would return "1 day", rather than "0 minutes". 1288 1289 The documentation for the template tag has always been correct; [8535] corrects the implementation to match the documentation. However, since it is possible that users may be relying upon the incorrect behaviour, it could pose problems for backwards compatibility. 1290 1291 This change was also present from [8481]-[8482]; however, it was temporarily reverted in [8483] while a design issue was resolved. 1292