Skip to content

Commit

Permalink
relations: reformat tables to pass black
Browse files Browse the repository at this point in the history
  • Loading branch information
gythaogg committed May 12, 2024
1 parent 9cfa4ec commit ac07d22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis_core/relations/tables.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
class RelationTable(tables.Table):

id = tables.TemplateColumn(
"<a href='{% url 'apis:relationupdate' record.id %}'>{{ record.id }}</a>"
"<a href='{% url 'apis:relationupdate' record.id %}'>{{ record.id }}</a>"
)

description = tables.TemplateColumn("{{ record }}")
edit = tables.TemplateColumn(
"<a href='{% url 'apis:relationupdate' record.id %}'>Edit</a>"
"<a href='{% url 'apis:relationupdate' record.id %}'>Edit</a>"
)
delete = tables.TemplateColumn(template_name="tables/delete.html")

Expand Down

0 comments on commit ac07d22

Please sign in to comment.