Here my models.py
class HolidayListView(ListView):
context_object_name = 'national_holidays'
model = models.NationalHoliday
I have a template like holiday_list.html
<td>{{ holiday.date_from }}</td>
<td>{{ holiday.date_to }}</td>
<td>{{ holiday.date_to - holiday.date_from }}</td>
how to make <td>{{ holiday.date_to - holiday.date_from }}</td>
work, should i do with HolidayListView?...
or
can directly on my templates?...
thank you!