#django-tables2 NOT cbv (solved)
2 messages · Page 1 of 1 (latest)
def Test(request):
table = TradeTable(Trade.objects.all())
RequestConfig(request).configure(table)
return render(request, "journal/test.html", {"table": table})
need to add RequestConfig, I find it reading code on this blog https://medium.com/@ezequiel.grondona/row-actions-with-django-tables2-and-materializecss-3e4618544db0
Medium
Django-tables2 and materializecss integration was not as “plug and play” as I expected. The purpose of this story is to share some tips tha