Django Rest Framework

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Django Rest Framework

Soumen Khatua
Hi Folks,
In my Django model I have one column as name and my query is if name is matched in search filter then itĀ  should appear first thenĀ  all the records by their length size and also by the most number of use.Please tell me How I can do that.


Thank You

Regards,
Soumen

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPUw6WZ6%3DOrfp40eru8xs1OvTqp7WZPR4Y47FJqhtKYzJcQHVg%40mail.gmail.com.