Friday, November 25, 2016

Re: Filtering in ListView

If you're ok with using an external package you can check out django-filter, it makes filtering very easy.


On Thursday, November 24, 2016 at 8:35:30 PM UTC+1, Artem Bernatskyy wrote:
Hello,

how can i accomplish filtering in ListView via GET ?

Now i am trying it with ListView and FormMixin...

To keep long story short:
- we are visiting page and filling form (which are generating from forms.py)
- than we are sending it via GET to the same page
- and somehow we need to validate income data and to filter by it


Any help is highly appreciated.

--
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/b704e15f-b422-4f31-a773-53f995946f7c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment