Need Help about django-filter and dataGrid

10 views
Skip to first unread message

DELEAU Eric

unread,
Nov 23, 2018, 1:34:09 PM11/23/18
to Django users
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

filter.JPG


view.py

View.JPG


vue_microtrottroi.html

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



Reply all
Reply to author
Forward
0 new messages