From f7150de6e407894e64d2091c312f8ceb3deffb6e Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 1 Sep 2011 06:51:00 +0530 Subject: [PATCH] er, Relationship --- gazetteer/places/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gazetteer/places/forms.py b/gazetteer/places/forms.py index 5219864..e97731e 100644 --- a/gazetteer/places/forms.py +++ b/gazetteer/places/forms.py @@ -13,4 +13,4 @@ class BaseRelationsFormSet(BaseModelFormSet): form.fields["feature_to"] = AutoCompleteSelectField('feature', required=False) # 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)