django-reversion-compare

History compare for django-reversion
Download

django-reversion-compare Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Jens Diemer
  • Publisher web site:
  • http://www.pylucid.org/

django-reversion-compare Tags


django-reversion-compare Description

django-reversion-compare is a Django app, an extension to django-reversion that provides a history compare view to compare two versions of a model which is under reversion.Comparing model versions is not a easy task. Maybe there are different view how this should looks like. This project will gives you a generic way to see whats has been changed.Many parts are customizable by overwrite methods or subclassing, see above.InstallationJust use: pip install django-reversion-compareSetupAdd **reversion_compare** to **INSTALLED_APPS** in your settings.py, e.g.: INSTALLED_APPS = ( 'django...', ... 'reversion', # https://github.com/etianen/django-reversion 'reversion_compare', # https://github.com/jedie/django-reversion-compare ... )UsageInherit from **CompareVersionAdmin** instead of **VersionAdmin** to get the compare feature.admin.py e.g.::: from django.contrib import admin from reversion_compare.admin import CompareVersionAdmin from my_app.models import ExampleModel class ExampleModelAdmin(CompareVersionAdmin): pass admin.site.register(ExampleModel, ExampleModelAdmin)Product's homepage


django-reversion-compare Related Software