bartTC/django-frontendadmin

Integration with django-reversion

Closed this issue · 5 comments

Modification done via Frontend Admin don't seem to show up in django-reversion history.

Whats the point here? You change templates on disk, django reversion covers the database (I think).

Yea im pretty sure you need to use the proper admin with reversion

Sorry I mistaken this with django-templatesadmin (where you modify templates on disk, has nothing to do with the admin).

For this app, I am not sure if it’s a bug, that means django-reversion also only covers the admin, not "outside" changes. Also not sure how to help you, check the django-reversion docs if there is some way to "trigger" outside changes like this.

Yes, since it reused admin parts, I had expected modifications to be saved as well. I looked into the django-reversion doc and enabled the RevisionMiddleware which catch all modifications done to models, this fix the problem.

That’s good to know, thank you.