Daniel Pyrathon
819e09b848
Fixed #22210 -- Saving model instances to non-related fields.
...
Previously, saving a model instance to a non-related field (in
particular a FloatField) would silently convert the model to an Integer
(the pk) and save it. This is undesirable behaviour, and likely to cause
confusion so the validatio has been hardened.
Thanks to @PirosB3 for the patch and @jarshwah for the review.
2014-03-10 15:25:18 +00:00
..
2014-02-28 21:03:46 -05:00
2013-09-22 14:44:09 -03:00
2013-10-10 16:49:20 -04:00
2013-09-09 16:03:13 -04:00
2013-09-06 12:57:25 -05:00
2013-09-09 16:03:13 -04:00
2013-10-10 16:49:20 -04:00
2013-09-09 16:03:13 -04:00
2013-10-10 16:49:20 -04:00
2013-09-09 16:03:13 -04:00
2013-10-10 16:49:20 -04:00
2014-02-28 11:44:03 -05:00
2014-02-28 21:03:46 -05:00
2014-02-25 10:28:32 -05:00
2013-08-12 14:05:25 -04:00
2013-08-12 14:05:25 -04:00
2014-02-25 10:28:32 -05:00
2013-08-12 14:05:25 -04:00
2013-08-12 14:05:25 -04:00
2013-09-09 16:03:13 -04:00
2014-02-28 11:44:03 -05:00
2014-02-28 11:44:03 -05:00
2013-08-12 14:05:25 -04:00
2014-02-25 10:28:32 -05:00
2013-09-05 20:14:58 -04:00
2013-08-12 14:05:25 -04:00
2013-11-30 08:37:15 -05:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-10-25 07:55:05 -04:00
2013-11-07 09:42:25 -05:00
2014-01-26 17:48:28 -05:00
2014-02-28 11:44:03 -05:00
2013-09-06 12:57:25 -05:00
2013-09-06 12:57:25 -05:00
2013-11-30 08:37:15 -05:00
2013-09-10 21:07:22 -04:00
2013-09-15 14:14:26 -04:00
2013-11-09 10:17:17 -05:00
2014-01-26 17:48:28 -05:00
2014-02-03 08:32:32 -05:00
2013-12-12 15:08:22 -05:00
2014-02-06 15:34:22 -06:00
2014-02-28 20:42:56 -05:00
2014-02-03 08:32:32 -05:00
2014-03-10 15:25:18 +00:00
2014-02-14 21:04:44 -05:00
2013-09-19 14:57:01 +08:00