819e09b848
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. |
||
---|---|---|
.. | ||
fields | ||
sql | ||
__init__.py | ||
aggregates.py | ||
base.py | ||
constants.py | ||
deletion.py | ||
expressions.py | ||
loading.py | ||
lookups.py | ||
manager.py | ||
options.py | ||
query.py | ||
query_utils.py | ||
related.py | ||
signals.py |