Changes between Version 245 and Version 246 of BackwardsIncompatibleChanges
- Timestamp:
- Aug 23, 2008, 10:12:02 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v245 v246 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 * [8481] Aug 23, 2008 [#Correctedresultsreturnedbytimesincetemplatefilters Corrected results returned by timesince template filters]84 83 == Changed 'spaceless' template tag to remove all spaces == 85 84 … … 1281 1280 print key, v 1282 1281 }}} 1283 1284 == Corrected results returned by timesince template filters ==1285 1286 Previous to [8481], 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".1287 1288 The documentation for the template tag has always been correct; [8481] 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.1289