DELEAU Eric
2018-11-23 18:34:08 UTC
Hello
I'm a new developper in django, i think my question are basic for expert
but i want to know the best practice.
I made a view using the package "djando-filter"
*filter.py*
[image: filter.JPG]
*view.py*
[image: View.JPG]
*vue_microtrottroi.html*
[image: html.JPG]
*Questions :*
- With the package django-filter, all data are sent to the html page. If
you have a lot of data on my model, it should be a problem ? Which other
solution could i use ?
- With django-filter, could you manage the pagination and how ?
- do you have any advice to add the ability to order the data in the
table after applying the search filter?
Thanks for your help
I'm a new developper in django, i think my question are basic for expert
but i want to know the best practice.
I made a view using the package "djando-filter"
*filter.py*
[image: filter.JPG]
*view.py*
[image: View.JPG]
*vue_microtrottroi.html*
[image: html.JPG]
*Questions :*
- With the package django-filter, all data are sent to the html page. If
you have a lot of data on my model, it should be a problem ? Which other
solution could i use ?
- With django-filter, could you manage the pagination and how ?
- do you have any advice to add the ability to order the data in the
table after applying the search filter?
Thanks for your help
--
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 post to this group, send email to django-***@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/34bb9c5e-41c7-45b8-9246-8814285ebeca%40googlegroups.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+***@googlegroups.com.
To post to this group, send email to django-***@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/34bb9c5e-41c7-45b8-9246-8814285ebeca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.