We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c1d86a commit ef6d4ddCopy full SHA for ef6d4dd
simple_history/tests/other_admin.py
@@ -2,6 +2,6 @@
2
from simple_history.admin import SimpleHistoryAdmin
3
from .models import State
4
5
-site = AdminSite(name="other_admin", app_name="other_admin")
+site = AdminSite(name="other_admin")
6
7
site.register(State, SimpleHistoryAdmin)
simple_history/tests/tests/test_admin.py
@@ -192,4 +192,5 @@ def test_other_admin(self):
192
"""
193
self.login()
194
state = State.objects.create()
195
- self.app.get(get_history_url(state, site="other_admin"))
+ history_url = get_history_url(state, site="other_admin")
196
+ self.app.get(history_url)
0 commit comments