From ff02d901439ebbc51d92710baefbceed7a434afe Mon Sep 17 00:00:00 2001 From: Sanj Date: Sat, 20 Aug 2011 15:59:55 +0530 Subject: [PATCH] err, wrong fk_name --- gazetteer/places/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gazetteer/places/admin.py b/gazetteer/places/admin.py index f7bec73..6857644 100644 --- a/gazetteer/places/admin.py +++ b/gazetteer/places/admin.py @@ -8,7 +8,7 @@ class FeatureNamesInline(admin.StackedInline): class FeatureRelationInline(admin.TabularInline): model = Feature.relationships.through extra = 1 - fk_name = 'feature2' + fk_name = 'feature1' class FeatureAdmin(admin.GeoModelAdmin): search_fields = ['preferred_name']