Commit 10f7ef40 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby

Club list is now clickable

parent 70c5bc06
Pipeline #1451 passed with stage
in 2 minutes and 49 seconds
#!/usr/bin/env python
import django_tables2 as tables
from .models import Club
class ClubTable(tables.Table):
class Meta:
attrs = {'class':'table table-bordered table-condensed table-striped table-hover'}
model = Club
template_name = 'django_tables2/bootstrap.html'
fields= ('id','name','email')
row_attrs = {'class':'table-row',
'data-href': lambda record: }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment