Changes between Version 96 and Version 97 of BackwardsIncompatibleChanges
- Timestamp:
- May 22, 2007, 1:26:42 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v96 v97 201 201 If you forget to make this change, you will see errors about !FloatField not taking a max_digits attribute in {{{__init__}}}, since the new !FloatField takes no precision-related arguments. 202 202 203 If you are using MySQL or PostgreSQL, there are '''no further changes areneeded'''. The database column types for !DecimalField are the same as for the old !FloatField.203 If you are using MySQL or PostgreSQL, there are '''no further changes needed'''. The database column types for !DecimalField are the same as for the old !FloatField. 204 204 205 205 If you are using SQLite, you need to force the database to view the appropriate columns as decimal types, rather than floats. To do this, follow this procedure for every application you have that contains a !DecimalField. Do this ''after'' you have made the change to using !DecimalField in your code and updated the Django code.