Django - django-reversion - not working in inheritance
I have created a common class with it's admin class which should be inherited by all of my models. My common admin class inherited the VersionAdmin
from reversion.admin import VersionAdmin
class CommonAdmin(VersionAdmin):
pass
The prob开发者_运维问答lem is that, the model admins which inherited CommonAdmin is not showing the deleted model entries in "Recover Items". But If I didn't use inheritance, it works fine.
The following didn't run properly. It works fine now.
manage.py createinitialrevisions
精彩评论