make features readonly in relationship admin
This commit is contained in:
parent
bdd3fa0cea
commit
62519ff4ff
|
@ -73,7 +73,8 @@ class AuthorityRecordAdmin(admin.ModelAdmin):
|
||||||
search_fields = ['preferred_name']
|
search_fields = ['preferred_name']
|
||||||
|
|
||||||
class RelationshipAdmin(admin.ModelAdmin):
|
class RelationshipAdmin(admin.ModelAdmin):
|
||||||
form = relationsForm
|
# form = relationsForm
|
||||||
|
readonly_fields = ['feature1', 'feature2']
|
||||||
|
|
||||||
class FeatureNamesInline(admin.TabularInline):
|
class FeatureNamesInline(admin.TabularInline):
|
||||||
model = Name
|
model = Name
|
||||||
|
|
Loading…
Reference in New Issue
Block a user