Skip to content

simple_history: integration templates don't work with simple_history >=3.8.0 #1036

@cfra

Description

@cfra

What version of Unfold are you using?

0.46.0

What version of Django are you using?

5.0

Describe your issue

simple_history added pagination for the change list in django-commons/django-simple-history#1277 which made it into release 3.8.0.

The templates overwritten by django-unfold don't reflect this yet, resulting in a claim of no changes having been found, because they are looking for historical_records in the template context that has been replaced by page_obj.object_list as can be seen here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions