Are you looking at client-side filtering within datatables or server side filtering? Thiago's suggestion related to using filters when you fetch the queryset (https://docs.djangoproject.com/en/3.1/topics/db/queries/#retrieving-specific-objects-with-filters)
On Wednesday, 3 February 2021 at 13:24:40 UTC eugenet...@gmail.com wrote: > Dear Thiago, > > Can I have some documentations or sample codes please? > > On Wed, 3 Feb 2021 at 15:16, Thiago Luiz Parolin <thiago....@unesp.br> > wrote: > >> Hi... >> Normally i use field__lte and field__gte >> >> Em qua, 3 de fev de 2021 08:11, Eugene TUYIZERE <eugenet...@gmail.com> >> escreveu: >> >>> Dear Team, >>> >>> I need help. I have a list of Items in a table. And I want to filter >>> some data between dates (start and end date). Please help me to do a search >>> between the two date. I am using Data table but I can use the other way if >>> possible for this purpose. >>> >>> Regards, >>> >>> -- >>> *TUYIZERE Eugene* >>> >>> >>> >>> *Msc Degree in Mathematical Science* >>> >>> *African Institute for Mathematical Sciences (AIMS Cameroon)Crystal >>> Garden-Lime, Cameroon* >>> >>> Bsc in Computer Science >>> >>> *UR-Nyagatare Campus* >>> >>> Email: eugene....@aims-cameroon.org >>> eugenet...@gmail.com >>> >>> Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38 >>> >>> -- >>> 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...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CABxpZHuPozCVEUFjWFYxipwTyGrY9Syyw-Et%2B_NAqXn6GevNow%40mail.gmail.com >>> >>> <https://groups.google.com/d/msgid/django-users/CABxpZHuPozCVEUFjWFYxipwTyGrY9Syyw-Et%2B_NAqXn6GevNow%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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...@googlegroups.com. >> > To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CANbmKytQ%3D1hiSQyj5%2Bkj-Dvy2Tk%2B0YUukORMui0cP7BPwXNZdg%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/django-users/CANbmKytQ%3D1hiSQyj5%2Bkj-Dvy2Tk%2B0YUukORMui0cP7BPwXNZdg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > *TUYIZERE Eugene* > > > > *Msc Degree in Mathematical Science* > > *African Institute for Mathematical Sciences (AIMS Cameroon)Crystal > Garden-Lime, Cameroon* > > Bsc in Computer Science > > *UR-Nyagatare Campus* > > Email: eugene....@aims-cameroon.org > eugenet...@gmail.com > > Tel: (+250) 7 88 26 33 38, (+250) 7 22 26 33 38 > -- 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/98702a6a-6341-4495-b879-977e7447c6f8n%40googlegroups.com.