diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2009-02-16 17:30:12 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2009-02-16 17:30:12 +0000 |
| commit | 11bfe7236609dad4c88d8352f64ed7a2888da936 (patch) | |
| tree | 5108409890f0c13abf439e7ba998da89e9a522a2 /docs/ref/forms | |
| parent | 2b1bb716ff7552bf9f98653c172a573c380e4798 (diff) | |
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.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9840 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
0 files changed, 0 insertions, 0 deletions
