er, Relationship
This commit is contained in:
parent
26081fb1f8
commit
f7150de6e4
|
@ -13,4 +13,4 @@ class BaseRelationsFormSet(BaseModelFormSet):
|
||||||
form.fields["feature_to"] = AutoCompleteSelectField('feature', required=False)
|
form.fields["feature_to"] = AutoCompleteSelectField('feature', required=False)
|
||||||
|
|
||||||
# pass in the base formset class to the factory
|
# pass in the base formset class to the factory
|
||||||
RelationFormSet = modelformset_factory(,fields=('feature_to','relationship_type'),extra=1,formset=BaseRelationsFormSet)
|
RelationFormSet = modelformset_factory(Relationship,fields=('feature_to','relationship_type'),extra=1,formset=BaseRelationsFormSet)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user