[Fixed]-Conflict with django-reversion package while adding custom button in django admin


You were already told the answer when you raised this “bug” on the reversion Github.

Just extend the reversion/change_list.html template with your own custom
template. 🙂

Instead of making a template with the path admin/change_list.html make an overriding template with the path reversion/change_list.html. The reason for this is that reversion does some overriding of the templates it self, so you need to make sure to play nice with those.

Leave a comment