kvesteri / sqlalchemy-continuum

Versioning extension for SQLAlchemy.
BSD 3-Clause "New" or "Revised" License
578 stars 127 forks source link

Relationships included in changeset #320

Open ben-l opened 1 year ago

ben-l commented 1 year ago

Is there any way of updating the changeset function to include changes to the relationships? Is this already supported with another function? For example I want relationship changes to appear when I write something like this, (with the use of paginaton and Jinja2):


{% for version in versions.items %}
    {% for key, value in version.changeset.items() %}
        <div>{{ key }}: {{ value[0] }} > {{ value[1] }}</div>
    {% endfor %}
{% endfor %}