'Test that inline file uploads correctly display prior data (#10002).'

def test_inline_file_upload_edit_validation_error_post(self):

    post_data = {'name': u'Test    Gallery', 'pictures-TOTAL_FORMS': u'2', 'pictures-INITIAL_FORMS': u'1', 'pictures-MAX_NUM_FORMS': u'0', 'pictures-0-id': unicode(self.picture.id), 'pictures-0-gallery': unicode(self.gallery.id), 'pictures-0-name': 'Test    Picture', 'pictures-0-image': '', 'pictures-1-id': '', 'pictures-1-gallery': str(self.gallery.id), 'pictures-1-name': 'Test    Picture    2', 'pictures-1-image': ''}
    response = self.client.post(('/test_admin/%s/admin_views/gallery/%d/' % (self.urlbit, self.gallery.id)), post_data)
    self.assertTrue((response._container[0].find('Currently:') > (-1)))
