Tuesday, December 26, 2017

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

That;s not quite what I mean 

See above, there's a XHR (ajax) request going to reddit and you can see the headers of the request/response as well as the data sent back.  What do you see of this when you call your search api?

Because it seems to me your request isn't being hit in the server from the client code

On Monday, December 25, 2017 at 8:28:37 PM UTC-5, Sajid Samsad wrote:
To @Jason
1) Yeah. I used the url from the browser and it worked. Actually the whole url is
?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 above url.

2) Well I used `//` but didn't work

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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/695127be-15d3-4224-a561-37719385850d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment