Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work together with ImportExportModelAdmin #8

Open
milossramek opened this issue Aug 30, 2021 · 0 comments
Open

Does not work together with ImportExportModelAdmin #8

milossramek opened this issue Aug 30, 2021 · 0 comments

Comments

@milossramek
Copy link

Hi,
The Totals line does not display if the class derives also from ImportExportModelAdmin:
This is OK:
class TransakciaAdmin(SimpleHistoryAdmin, TotalsumAdmin):
This does not work:
class TransakciaAdmin(SimpleHistoryAdmin, ImportExportModelAdmin, TotalsumAdmin):

In the second case the templates totalsum_change_list.html and totalsum_change_list_results.html are not called at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant