Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

comparision between django model version control packages

Tags:

python

django

I need to implement Django model history version & compare view.

I found there are packages like django-reversion, django-simple-history, django-revisions to implement model history version and django-reversion-compare for compare view. My requirement focuses mainly on implementing version history & compare view outside admin.

Can someone share the feedback on these packages? I found few references like http://treyhunner.com/2011/09/django-and-model-history/, but it's still not clear to me. I am interested to know the ease & limitations of implementing these packages.

like image 257
Ankit Avatar asked Aug 05 '26 21:08

Ankit


1 Answers

You need django-reversion + django-reversion-compare. I have been using django-reversion for at least 5 years and django-reversion-compare is just an add-on for django-reversion, which makes it possible to compare different revisions of the same object/record.

Additionally see the following grid.

like image 159
Artur Barseghyan Avatar answered Aug 08 '26 09:08

Artur Barseghyan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!