django/django
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
..
apps Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
bin Started attackign the next flake8 violation 2013-10-31 08:42:28 -07:00
conf Revert "Reordered INSTALLED_APPS in default template, refs #22005" 2014-03-09 20:10:56 +01:00
contrib Prevented admin from importing auth.User. 2014-03-09 20:29:00 +01:00
core Fix bad conflict detection during makemigrations 2014-03-08 13:53:20 -08:00
db Fixed #22210 -- Saving model instances to non-related fields. 2014-03-10 15:25:18 +00:00
dispatch Fixed many typos in comments and docstrings. 2014-03-03 07:38:09 -05:00
forms Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
http Fixed many typos in comments and docstrings. 2014-03-03 07:38:09 -05:00
middleware Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
template Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
templatetags Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
test Reorganized the database test settings 2014-03-09 03:57:18 +02:00
utils Avoided changing raw DeprecationWarning filter behavior 2014-03-08 11:13:48 +01:00
views Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings 2014-03-08 09:57:40 +01:00
__init__.py Bumped version number for 1.7a2 2014-02-06 15:54:27 -06:00
shortcuts.py Moved relative URL handling added in refs #21177 to a better place. 2014-02-15 07:54:35 -05:00