Skip to content

Commit

Permalink
Update FlowInline to accept an optional object argument
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis-kori committed Jul 11, 2024
1 parent c3eb064 commit c0d5d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yoflow/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def link(self, obj):
)
return format_html('<a href="{}">{}</a>'.format(url, obj.pk))

def has_add_permission(self, request):
def has_add_permission(self, request, object=None):
return False


Expand Down

0 comments on commit c0d5d23

Please sign in to comment.