... I'm a bit of a rookie in this django, I know how to do this kind of javascript queries, yii, jquery but in django it's a bit complicated for me.
Creating a search by range of dates, because I want to keep track of income for weeks, months, quarters and semesters, in django I've come across this:
when I consult the database
ingresos.objects.filter(fecha__range=(f_inicial, f_cierre)
I want f_initial and f_close to take the date value that I choose in the Dateinput that I define in the Form, how can I do this, thanks