Changes between Version 3 and Version 4 of AuditTrail
- 08/27/07 06:58:31 (7 years ago)
v3 v4 56 56 As you can see, the audit trail is listed with the most recent state first. Each entry also inclues a timestamp when the edit took place. 57 57 58 59 58 60 == Caveats == 59 60 For one thing, only `post_save` is used right now, so if you have need for `post_delete`, you'll need to put that in whatever way you'd like. 61 61 62 62 Also, in order to copy the fields from the original model to the audit model, it uses some hackery I'm not particularly proud of. It seems to work for all the cases I would have hoped it would, but it relies on the arguments passed to the Field class being named the same as the attributes stored on the Field object after it's created. If there's ever a time that's not the case, it will fail completely on that Field type.