vvangelovski / django-audit-log

Audit log for your Django models
Other
232 stars 94 forks source link

AuditLog() ignored in abstract base classes #3

Closed farcepest closed 9 years ago

farcepest commented 13 years ago

This is somewhat of a nuisance: If you define an audit log in an abstract base class, it is not inherited by the child class. Thus it is necessary to add audit_log to each child class. Not clear how fixable this is. May have to live with noting that it won't be inherited from abstract base classes in the usage docs, as it would probably requiring modifying Django.

SirAnthony commented 13 years ago

Confirmed. Also not found solution.

vvangelovski commented 13 years ago

Thanks, I'll look into this. I'll mention it in the docs for now.