err, wrong fk_name
This commit is contained in:
parent
02bb6034f2
commit
ff02d90143
|
@ -8,7 +8,7 @@ class FeatureNamesInline(admin.StackedInline):
|
||||||
class FeatureRelationInline(admin.TabularInline):
|
class FeatureRelationInline(admin.TabularInline):
|
||||||
model = Feature.relationships.through
|
model = Feature.relationships.through
|
||||||
extra = 1
|
extra = 1
|
||||||
fk_name = 'feature2'
|
fk_name = 'feature1'
|
||||||
|
|
||||||
class FeatureAdmin(admin.GeoModelAdmin):
|
class FeatureAdmin(admin.GeoModelAdmin):
|
||||||
search_fields = ['preferred_name']
|
search_fields = ['preferred_name']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user