﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
10002	Data does not display in TabularInline when validation fails for an ImageField	anonymous	David Gouldin	"I have a TabularInline form associated with a model in my admin and it has an ImageField and a CharField.  When I edit / add a record to the list and do not upload an image, Click save and edit, it throws an error ""This field is required"" and wipes out all of the previous data (the data is not lost, it just doesn't appear in the list).

---model:

{{{
class Example(models.Model):
    name = models.CharField(max_length=128)
    test = models.ForeignKey(Test, related_name=""examples"")
    image = models.ImageField(upload_to=settings.UPLOAD_TO)

}}}

---admin:

{{{
class ExampleInline(admin.TabularInline):
    model = Example

class TestAdmin(admin.ModelAdmin):
    inlines = [ExampleInline,]

admin.site.register(Test, TestAdmin)

}}}
"		closed	contrib.admin	1.0		fixed	TabularInline, ImageField	dgouldin@…	Ready for checkin	1	0	0	0	0	0
