mirror of
https://github.com/Hopiu/django.git
synced 2026-03-25 18:30:31 +00:00
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. |
||
|---|---|---|
| .. | ||
| 4x8.png | ||
| 8x4.png | ||
| __init__.py | ||
| models.py | ||
| test_imagefield.py | ||
| tests.py | ||