Problem solved by dirty hack in my (custom) Manipulator class def getForm(self, data, errors): form = forms.FormWrapper(self, data, errors)
# HACK! Refresh fields in both form.fields and form.manipulator.fields fields = {} for field in self.fields: fields[field.field_name] = field form._fields = fields.values() form.manipulator.fields = fields.values() return form Curiously, but form.manipulator.fields have multiple fields with same name and if we change data different data. This look in the following way: 1) First visit the page - len(form.manipulator.fields) == 1 2) Second visit the page - len(form.manipulator.fields) == 2 ... n) n visit the page - len(form.manipulator.fields) == n Another problem it is _get_fields method of FormWrapper: it builds own copy of manipulator.fields list and there we have race condition. -- Andrew Degtiariov DA-RIPE --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---