Changes between Version 202 and Version 203 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Aug 2, 2008, 1:57:07 PM (16 years ago)
Author:
John Shaffer
Comment:

Added a missing comma.

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v202 v203  
    10451045== !DecimalField conversion tightened ==
    10461046
    1047 In [8143] the conversion between values in model attributes and values to be inserted into the database was changed internally. A side-effect of this is that Django will raise an error if you try to store a floating point value in a !DecimalField. There is no reliable way to convert between a float and a decimal. So you must either store a python `decimal` value in the model attribute or a string (which will then be converted to a `decimal`).
     1047In [8143], the conversion between values in model attributes and values to be inserted into the database was changed internally. A side-effect of this is that Django will raise an error if you try to store a floating point value in a !DecimalField. There is no reliable way to convert between a float and a decimal. So you must either store a python `decimal` value in the model attribute or a string (which will then be converted to a `decimal`).
    10481048
    10491049== Password reset system changed to improve security and usability ==
Back to Top