Skip to content

Commit

Permalink
Remove field argument
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWillitts committed Aug 14, 2024
1 parent d803a28 commit e52f40f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def notes(self, obj=None) -> str:
context = dict(title=title, url=url, label=label)
return render_to_string(self.note_template, context=context)

def get_notes_label(self, obj, field_name=None):
def get_notes_label(self, obj):
if not obj:
label = "Add"
elif not obj.note:
Expand Down

0 comments on commit e52f40f

Please sign in to comment.