django AuditTrail vs Reversion

后端 未结 3 779
孤城傲影
孤城傲影 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:40

    As i stated in my question rcField seems to be to much for my needs, which is simple that i want store any changes to my table, and may be come back later to those changes to generate some reports.

    So I tested AuditTrail and Reversion Reversion seems to be a better full blown application with many features(which i do not need), Also as far as i know it saves data in a single table in XML or YAML format, which i think

    1. will generate too much data in a single table
    2. to read that data I may not be able to use already present db tools.

    AuditTrail wins in that regard that for each table it generates a corresponding audit table and hence changes can be tracked easily, per table data is less and can be easily manipulated and user for report generation.

    So i am going with AuditTrail.

提交回复
热议问题