def setData(self, kwds): setFormData(self, kwds)
def setData(self, kwds): setFormData(self, kwds) if 'description' in kwds: self.base_fields['description'].initial = kwds['description']