Hello Rohini,

use this
MyModels.objects.filter(name = "Rahul")

MyModel is Database table, name is column name, rahul is value to filter
all users whose name is rahul will be filter

links for more information
https://docs.djangoproject.com/en/3.0/ref/models/querysets/
https://docs.djangoproject.com/en/3.0/ref/models/options/#ordering



On Thu, Aug 13, 2020 at 9:07 AM 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:

> probably, you can implement binary search algorithm
>
> Regards,
> Amitesh
>
>
> On Thursday, 13 August, 2020, 08:28:02 am IST, ROHINI PUNDE <
> punderoh...@gmail.com> wrote:
>
>
> Hi,
>  I want to do sorting, searching and paging in my crud operations,I am not
> getting exactly what can I do easily with python and django.please give me
> suggestions
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAO9_9ZbbXbcYBZK5i5%3DQSS%2BaO_3ShLNzq1HUz5AfiNdH%3DCwHdg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAO9_9ZbbXbcYBZK5i5%3DQSS%2BaO_3ShLNzq1HUz5AfiNdH%3DCwHdg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/800650729.736718.1597289790123%40mail.yahoo.com
> <https://groups.google.com/d/msgid/django-users/800650729.736718.1597289790123%40mail.yahoo.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL0P1EW5ueimJVJUweTOMDCjLTCM-jyFDNAC-Tcf_RSFQNTZhg%40mail.gmail.com.

Reply via email to