From 6d151919368269f2867da844076ca9e2e8a53f54 Mon Sep 17 00:00:00 2001 From: Enric Pou Date: Thu, 25 Jan 2024 13:32:43 +0100 Subject: [PATCH] Fix SimpleHistoryAdmin to consistently use AUTH_USER_MODEL in history_view --- AUTHORS.rst | 1 + simple_history/admin.py | 4 +- simple_history/models.py | 9 +- simple_history/tests/admin.py | 2 + simple_history/tests/tests/test_admin.py | 128 ++++++++++++++++++++++ simple_history/tests/tests/test_models.py | 23 ++++ 6 files changed, 159 insertions(+), 8 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index fcf285f71..b865d19fc 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -43,6 +43,7 @@ Authors - Dmytro Shyshov (`xahgmah `_) - Edouard Richard (`vied12 ` _) - Eduardo Cuducos +- Enric Pou (`epou `_) - Erik van Widenfelt (`erikvw `_) - Fábio Capuano (`fabiocapsouza