1👍
try to use
event = Event.objects.dates('start_date__date', 'end_date__date').annotate(dates=Concat('start_date__date', 'end_date__date'))
Source:stackexchange.com
1👍
try to use
event = Event.objects.dates('start_date__date', 'end_date__date').annotate(dates=Concat('start_date__date', 'end_date__date'))