Changes between Initial Version and Version 2 of Ticket #10179


Ignore:
Timestamp:
Feb 3, 2009, 5:32:13 AM (16 years ago)
Author:
Ramiro Morales
Comment:

(reformatted description)

malte: What version of Django are you using? If youa re using a revision from trunk latter that r9766, can you please try with r9765 and report back?

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10179 – Description

    initial v2  
    11If you have a FileField declared like so:
     2{{{
    23image_1 = models.FileField(upload_to=get_image_path, null=True, blank=True)
    3 
     4}}}
    45Then in django admin, the field becomes voluntary as it should. If you save a file in an optional field that works as expected. But if you come back to the item in the admin, and just hit 'save' without touching the optional file that is uploaded, the db record gets updated with a blank value for the FileField, effectively killing the connection with the file.
    56
Back to Top