er, forgot to add form to RelationshipAdmin

This commit is contained in:
Sanj 2011-08-31 04:09:49 +05:30
parent 459e38e758
commit 549bffeca8

View File

@ -72,6 +72,8 @@ class AuthorityRecordAdmin(admin.ModelAdmin):
form = authRecordForm form = authRecordForm
search_fields = ['preferred_name'] search_fields = ['preferred_name']
class RelationshipAdmin(admin.ModelAdmin):
form = relationsForm
class FeatureNamesInline(admin.TabularInline): class FeatureNamesInline(admin.TabularInline):
model = Name model = Name
@ -112,5 +114,5 @@ class TimeFrameAdmin(admin.ModelAdmin):
admin.site.register(Feature, FeatureAdmin) admin.site.register(Feature, FeatureAdmin)
admin.site.register(TimeFrame) admin.site.register(TimeFrame)
admin.site.register(FeatureType, FeatureTypeAdmin) admin.site.register(FeatureType, FeatureTypeAdmin)
admin.site.register(Relationship) admin.site.register(Relationship, RelationshipAdmin)
admin.site.register(AuthorityRecord, AuthorityRecordAdmin) admin.site.register(AuthorityRecord, AuthorityRecordAdmin)