1
0
mirror of https://github.com/django/django.git synced 2024-12-23 17:46:27 +00:00
django/tests/modeltests/model_forms
2009-02-16 17:30:12 +00:00
..
__init__.py newforms: Added initial implementation of form_for_model and form_for_fields 2006-12-15 05:46:11 +00:00
models.py Fixed #10121: Restored code lost in r9766 that prevented overwriting an already-set blank=True FileField with blank. This would happen, for instance, in the admin if an object with a FileField was edited/saved but the file not re-uploaded, resulting in the association to the previously-uploaded file being lost. Adding the ability to re-blank FileFields when they are once set is the subject of a different ticket (#7048), for now the pre-9766 behavior here has just been restored in order to avoid unexpected data loss. Thanks to Alex for help in understanding how to fix this without un-doing the intent of r9766. 2009-02-16 17:30:12 +00:00
test.png Fixed #6302 for ImageFields. 2008-01-18 15:53:19 +00:00