Fixed a problem with the admin interface for the ietf.doc.DocHistory class.

- Legacy-Id: 8693
This commit is contained in:
Henrik Levkowetz 2014-11-14 00:21:54 +00:00
parent 50cb5f0762
commit 6596a858af

View file

@ -108,7 +108,7 @@ class DocHistoryAdmin(admin.ModelAdmin):
raw_id_fields = ['doc', 'authors', 'related', 'group', 'shepherd', 'ad']
def state(self, instance):
return self.get_state()
return instance.get_state()
admin.site.register(DocHistory, DocHistoryAdmin)