Skip to content

Commit 6695582

Browse files
committed
Treat ModelAdmin like an old python class
1 parent 242cfb4 commit 6695582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simple_history/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
USER_NATURAL_KEY = tuple(key.lower() for key in USER_NATURAL_KEY.split('.', 1))
2828

2929

30-
class SimpleHistoryAdmin(admin.ModelAdmin):
30+
class SimpleHistoryAdmin(admin.ModelAdmin, object):
3131
object_history_template = "simple_history/object_history.html"
3232
object_history_form_template = "simple_history/object_history_form.html"
3333

0 commit comments

Comments
 (0)