Re: Using Select2 autocomplete with Django project does not work while fetching the data

2017-12-26 Thread Sajid Samsad
Could you kindly suggest me some autocomplete library which I can use for my Django Project? My deadline is coming fast and furiously and I have already spent too much time on this autocomplete library `Select2`. -- You received this message because you are subscribed to the Google Groups "Dj

Re: Using Select2 autocomplete with Django project does not work while fetching the data

2017-12-26 Thread Sajid Samsad
> > I actually didn't understand your question. > > > I have posted the codes above. > > > Could you kindly take a look if it's anything with the code?your question. > > I actually didn't understand your question. I have posted the codes above. Could you kindly take a look if it's to anyt

Re: Using Select2 autocomplete with Django project does not work while fetching the data

2017-12-26 Thread Sajid Samsad
> > Well when I write something in the search options, I got this error: > > But I didn't write the js. It is from select2. And if the request is not hit then what shoul

Re: Using Select2 autocomplete with Django project does not work while fetching the data

2017-12-25 Thread Sajid Samsad
> > To @Jason > > 1) Yeah. I used the url from the browser and it worked. Actually the whole url is localhost:8000//api.alif-marine.com/search/products?q=product_name As ?q=whatever I type is supposed to be added by javascript so when I am manually doing this from my browser, I am using the abo

Re: Using Select2 autocomplete with Django project does not work while fetching the data

2017-12-25 Thread Sajid Samsad
On Monday, December 25, 2017 at 8:51:46 PM UTC+6, Sajid Samsad wrote: > > > In my Django project, I have a Search field. I used Select2 autocomplete with > it. I needed to fetch the product_list from my Product model. So I created a > rest API that returns the product in json fo