#5721: Objects with file fields, edited inline, throws validation errors on edit
------------------------------+---------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component: Admin interface
Version: newforms-admin | Keywords: fileuploadfield filefield admin
newforms-admin
Stage: Unreviewed | Has_patch: 0
------------------------------+---------------------------------------------
This is similar to #26.
I have an object with multiple related file attachments, each represented
by a related object that i'm editing inline (tabular).
When I edit the parent object, it displays the current value of the file
field as a link above the file input.
If I save the parent object, the empty file fields (labeled Change:) throw
"This field is required" errors, even though the field has a current
value.
It seems that validation on file fields should check both for input (and
replace if it exists) and for an existing value.
--
Ticket URL: <http://code.djangoproject.com/ticket/5721>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---