plateforme-tfjm2/apps/member/tables.py

10 lines
196 B
Python
Raw Normal View History

2020-04-29 14:59:59 +00:00
import django_tables2 as tables
from member.models import TFJMUser
class UserTable(tables.Table):
class Meta:
model = TFJMUser
fields = ("last_name", "first_name", "role",)