Tuesday, September 12, 2017

Re: Django select filter

I think the filtering should be done in your view.
You pass the value of the selected month to the view as a post item.

Then do a query based on the view.

On Sep 12, 2017 7:43 PM, "sum abiut" <suabiut@gmail.com> wrote:
Hi,
I am working on an app which has a dropdown/select option which contain months of the year. What i want to accomplished is when the user click on the drop down and select a particular  month of the year the app should display a table filter by that particular   selected month.  


Please point me to the right direction to get me started.

cheer

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPCf-y5JQoekZfW%3DymeNJHyXQj6ExJHweENW2gAfQiBhnXg6%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHjgLX6wL8qPMiZisWMDOEkr3G5BnvfgRmWi0S2%3DGtwXGV5tAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment