diff --git a/yoflow/admin.py b/yoflow/admin.py index b3315e0..d3c8489 100644 --- a/yoflow/admin.py +++ b/yoflow/admin.py @@ -55,7 +55,7 @@ def link(self, obj): ) return format_html('{}'.format(url, obj.pk)) - def has_add_permission(self, request): + def has_add_permission(self, request, object=None): return False