I have never used "django-tables2" package but traditionally you'd do
something like class="color_{{item.reception_status}}" which will render
class="color_3" or class="color_1" and then use CSS to style it. What does
cell render? Can you access reception_status from it as in {{
cell.reception_stat
I have a html table (django-tables2) based on a model
class MasterTable(tables.Table):
class Meta:
model = Master
fields = ("name","reception_date","reception_status","amount_files")
I need to change the color of some cell based in the value of others cell.
Example :
name will b
2 matches
Mail list logo