My query is little bit different suppose I type A in the search box imtjen
it should recommend AAA, ABC if they are exist into the database. How I can
do that??

On Tue, 20 Aug 2019, 09:33 Abu Yusuf, <yu...@binate-solutions.com> wrote:

> You need to use these both:
>
> 1.Filter: https://www.django-rest-framework.org/api-guide/filtering/
> 2.Pagination: https://www.django-rest-framework.org/api-guide/pagination/
>
> On Tue, Aug 20, 2019 at 9:45 AM Soumen Khatua <soumenkhatua...@gmail.com>
> wrote:
>
>> Hi guys,
>>  I want to implement autocomplete options like if someone type 'a' if it
>> is contains in between any data it should provide the suggestion of the
>> matched words. Then it will return first 25 matched data, how I can do that
>> by using django rest framework. Please help me with source code.
>>
>> Thank you in advance
>>
>> 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 django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPUw6WYDQP5YgDZcHC_e8_c%2BTbs3CNEuxutFtmcvmZF-gqu2xA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAPUw6WYDQP5YgDZcHC_e8_c%2BTbs3CNEuxutFtmcvmZF-gqu2xA%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/CACNsr28GTfC8FTyWCzE0JkA4ynoVMpa-T2K%3DOs2uHUOjDxLE_g%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACNsr28GTfC8FTyWCzE0JkA4ynoVMpa-T2K%3DOs2uHUOjDxLE_g%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/CAPUw6WbREd%2B8Npdb%2B7%2BpYD1sNVy8yusBdGtnAfa74cWt5%2B7ddA%40mail.gmail.com.

Reply via email to