This commit is contained in:
Sanj 2011-09-01 06:57:35 +05:30
parent a46df58e34
commit 1114d47a41

View File

@ -9,7 +9,7 @@ class BaseRelationsFormSet(BaseModelFormSet):
# that adds the field in, overwriting the previous default field
def add_fields(self, form, index):
super(BaseTaskFormSet, self).add_fields(form, index)
super(BaseRelationsFormSet, self).add_fields(form, index)
form.fields["feature2"] = AutoCompleteSelectField('feature', required=False)
# pass in the base formset class to the factory