Monday, April 27, 2020

Implement querystring using Search option + Pagination

Hi All,

I have a situation where currently, I am showing data using views.py function on the template and the template shows data on the page.

The html page also has search dropdowns and those dropdowns are getting data from the landing view function itself.

Note - This landing function is the one that is providing data to the page + options in dropdown menus.

Also, the pagination has been implemented in the page which also changes when the dropdown option is chosen.

Is there a way that instead of managing this from template side, can I manage the pagination(when dropdown is chosen and when not) + dropdown option from views side?

Thanks,
Gurmeet Kaur

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEbKJVga%3DX%3DJcQJi44PSG-szyn6AWaTeggFTixatMVNY7WJc9g%40mail.gmail.com.

No comments:

Post a Comment