Hi, OK - If you only want to create an autocomplete list - or a dropdown list with information django restframework could be a bit of an overkill for that specific task - you could instead use something like this: https://django-autocomplete-light.readthedocs.io/en/master/tutorial.html
That's a plugin that creates a simple dropdown with autocomplete? Regards, Andréas Den fre 23 aug. 2019 kl 14:26 skrev Soumen Khatua <[email protected] >: > Hi Andres, > Yes I read your article what you shared with me now I understand that I > need to override the inbuilt django rest framework template to get expected > result. But I don't know How can i do that, So my query is what is road map > to do that? As of Now I extended restframework provided *base.html* but > How can I render these into a template and customize it accordingly. > > Thank you for your response. > > Regards, > Soumen > > On Fri, Aug 23, 2019 at 4:15 PM Andréas Kühne <[email protected]> > wrote: > >> Hi Soumen, >> >> You have asked this question (or variants of it) 3 times now. If you >> aren't satisfied with the solutions you have received already - try >> replying to the suggestions you already have received. I don't think you >> will get different answers by repeating the same question multiple times. >> Also people here won't write the code for you, but we are happy to show you >> pointers to where you need to look. Previously we have said that you need >> to use the Filtering and that you will need to do a javascript query to get >> the information from the backend. >> >> What kind of answer are you looking for? Because if you put together >> these things you will get the solution to this problem. >> >> Best regards, >> >> Andréas >> >> >> Den ons 21 aug. 2019 kl 09:42 skrev Soumen Khatua < >> [email protected]>: >> >>> Hi Folks, >>> I want to implemnet something like if user type any query parameter then >>> matched string should come first then if the typed words contains in >>> between records then short length of string should come second and so on,as >>> an example: >>> >>> >>> *http://127.0.0.1:8000/get/search/?word=the >>> <http://127.0.0.1:8000/get/search/?word=the>* >>> >>> *the--- first record* >>> *they-- second **record* >>> *their--- third **record* >>> *theirs-- fourth **record* >>> *................* >>> >>> >>> Plase tell me how I can solve this probelm. >>> >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CAPUw6Waisqm10yKOPSe4gY5S%2BX0NRg_eiBjsiGW1Ld-NAiXnZg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAPUw6Waisqm10yKOPSe4gY5S%2BX0NRg_eiBjsiGW1Ld-NAiXnZg%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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAK4qSCeAkoOGeOVp27WRytH33qwz%3Dk1s1ov%3D22T-cvbkMcsdAA%40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CAK4qSCeAkoOGeOVp27WRytH33qwz%3Dk1s1ov%3D22T-cvbkMcsdAA%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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAPUw6WaZA2OQ8m9V-xGUBHyBUDEMgoj6K7nE-_qd9JN2HsVk8g%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAPUw6WaZA2OQ8m9V-xGUBHyBUDEMgoj6K7nE-_qd9JN2HsVk8g%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCd3p-j6pqWgO_GcMxGFoAwjWjKDgV7%2BzmSZU0jtAqp8JQ%40mail.gmail.com.

