1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-07-17 11:35:56 +02:00

Wrong import order

This commit is contained in:
Yohann D'ANELLO
2020-12-28 19:19:01 +01:00
parent 0079b6d96d
commit 63f139be45
14 changed files with 30 additions and 41 deletions

View File

@ -54,20 +54,3 @@ class ParticipationTable(tables.Table):
model = Team
fields = ('name', 'trigram', 'problem',)
template_name = 'django_tables2/bootstrap4.html'
class VideoTable(tables.Table):
participation_name = tables.LinkColumn(
'participation:participation_detail',
args=[tables.A("participation__pk")],
verbose_name=lambda: _("name").capitalize(),
accessor=tables.A("participation__team__name"),
)
class Meta:
attrs = {
'class': 'table table condensed table-striped',
}
model = Team
fields = ('participation_name', 'link',)
template_name = 'django_tables2/bootstrap4.html'