From c9703c7796193b73aa028ba58c6dbc577af8bcad Mon Sep 17 00:00:00 2001 From: Sanj Date: Thu, 1 Sep 2011 06:52:31 +0530 Subject: [PATCH] formset weirdo --- gazetteer/places/forms.py | 2 +- gazetteer/templates/admin/base_site.html | 2 +- gazetteer/templates/search.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gazetteer/places/forms.py b/gazetteer/places/forms.py index e97731e..ed85c13 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(Relationship,fields=('feature_to','relationship_type'),extra=1,formset=BaseRelationsFormSet) +RelationFormSet = modelformset_factory(Relationship,fields=('feature_from','relationship_type'),extra=1,formset=BaseRelationsFormSet) diff --git a/gazetteer/templates/admin/base_site.html b/gazetteer/templates/admin/base_site.html index f84b5e1..bb97826 100644 --- a/gazetteer/templates/admin/base_site.html +++ b/gazetteer/templates/admin/base_site.html @@ -18,7 +18,7 @@
  • Features
  • Feature Types
  • Authority Records
  • -
  • Time-Frames
  • +
  • Time Frames
  • {% endblock %} diff --git a/gazetteer/templates/search.html b/gazetteer/templates/search.html index 295f9cf..29e9350 100644 --- a/gazetteer/templates/search.html +++ b/gazetteer/templates/search.html @@ -55,7 +55,7 @@
  • Features
  • Feature Types
  • Authority Records
  • -
  • Time-Frames
  • +
  • Time Frames