django AuditTrail vs Reversion

后端 未结 3 775
孤城傲影
孤城傲影 2021-01-31 11:09

I am working on an new web app I need to store any changes in database to audit table(s). Purpose of such audit tables is that later on in a real physical audit we can asecertai

3条回答
  •  别那么骄傲
    2021-01-31 11:59

    I can't give you real experience with any of them but would like to make an observation.

    I assume by AuditTrail you mean AuditTrail on the Django wiki. If so, I think you'll want to instead look at HistoricalRecords developed by the same author (Marty Alchin aka @gulopine) in his book Pro Django. It should work better with Django 1.x.

    This is the approach I'll be using on an upcoming project, not because it necessarily beats the others from a technical standpoint, but because it matches the "real world" expectations of the audit trail for that application.

提交回复
热议问题