Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 49adcb1

Browse files
author
Greg Turner
committed
Update to 1.8 way of getting model name.
1 parent aa1589b commit 49adcb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collectionkit/contrib/work_creator/admin_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def admin_link(obj):
77

88
def admin_url(obj):
99
return reverse(
10-
'admin:%s_%s_change' % (obj._meta.app_label, obj._meta.module_name),
10+
'admin:%s_%s_change' % (obj._meta.app_label, obj._meta.model_name),
1111
args=[obj.id]
1212
)
1313

0 commit comments

Comments
 (0)