1

I am trying to use Django reversion so that i can have the audit log of all changes done to all models in front end application done in Angular JS as front end and Django REST as backend.

I am thinking of using Django Reversion and their docs say this

https://django-reversion.readthedocs.org/en/latest/how-it-works.html

Any models that use subclasses of VersionAdmin in the admin interface will be automatically registered with django-reversion. As such, it is only necessary to manually register these models if you wish to override the default registration settings.

Now does that mean that i can only use that in admin site only and not on models being saved via frond end.

user3214546
  • 6,523
  • 13
  • 51
  • 98

1 Answers1

2

Of course you can use it in the frontend as well, study its API on how to create versions yourself and handle restoring of previous/deleted versions manually as you will have to integrate it with your UI yourself...

Bernhard Vallant
  • 49,468
  • 20
  • 120
  • 148