1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-11-27 10:53:09 +00:00
plateforme-tfjm2/apps/member/tables.py
Yohann D'ANELLO 03f47f996b Profile list
2020-04-30 21:07:12 +02:00

13 lines
311 B
Python

import django_tables2 as tables
from member.models import TFJMUser
class UserTable(tables.Table):
class Meta:
model = TFJMUser
fields = ("last_name", "first_name", "role", "date_joined", )
attrs = {
'class': 'table table-condensed table-striped table-hover'
}