Skip to content

Commit

Permalink
fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed Jul 3, 2023
1 parent 1faa009 commit d149287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocw/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class Meta:
exclude = ['active']
template_name = 'django_tables2/bootstrap.html'
row_attrs = {
'class': lambda record: "state_{}".format(record.state)
'class': lambda record: f"state_{record.state}"
}


Expand Down

0 comments on commit d149287

Please sign in to comment.