I have a form in my project and I want to display a start and stop label on my templates, what I mean by that is I want the start label to be next to start dateinput and stop label to be next to stop dateinput below are my codes. *filter.py*
*from django_filters import widgetsimport django_filtersclass DuesFilter(django_filters.FilterSet): payment_date = django_filters.DateFromToRangeFilter( label='Date (Between)', widget=widgets.DateRangeWidget(attrs={'type':'date', 'class':'form-control'}) )My templates* *<div class="input-group"> <div class="input-group-prepend"> <div class="input-group-text">date</div> {{ form.payment_date }} </div> </div></div>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d7bde7b1-1326-4cad-930a-977ec320cc08o%40googlegroups.com.