If we search and then we click on next button, it doesnt show the search result from pagination rather it shows from objects.all() pagination. How do we solve this issue ???
@@rakesh_ibm for me, its working very well, use pycharm code editor likn aghr queries may masla aa raha hai jo exact search nhi krne de raha jaise aap soch rahe ho to may reply dedungha, i know other queries just lookup type ka farakh hai aur kuch nhi
Boht informative video thi boht videoachy se smj aya 100% recommended
learnt something new
Bro, You haven't explained the built-in code of pagination what every line meant for
First ✋
Nice Video! Keep going...
Great Video!
Same doubt if search and go on next page it breaks if condition and shows all pages
If we search and then we click on next button, it doesnt show the search result from pagination rather it shows from objects.all() pagination. How do we solve this issue ???
you should not use pagination bro, you have to create queryset of only required number of sets you want
15:34 such a mess just occured , my eyes ache.
What were you doing?
That Q thing is not working
Same it's not filtering😢
In case of foreign key you will need to enter the query as Q(nameOfVariable-in-student-model__nameofVariable-in-actual-model__icontains=search).
@@rakesh_ibm for me, its working very well, use pycharm code editor likn aghr queries may masla aa raha hai jo exact search nhi krne de raha jaise aap soch rahe ho to may reply dedungha, i know other queries just lookup type ka farakh hai aur kuch nhi