Re: Django and Ajax

2021-01-17 Thread carlos
this is a example Django and Ajax maybe help you https://simpleisbetterthancomplex.com/tutorial/2016/08/29/how-to-work-with-ajax-request-with-django.html On Sun, Jan 17, 2021 at 5:18 PM www.forum-gh.com wrote: > Hello, > Please I need your help on this, I am an absolute beginne

Django and Ajax

2021-01-17 Thread www.forum-gh.com
Hello, Please I need your help on this, I am an absolute beginner, how can I create a filter using ajax for example when the user selects Ghana from a dropdown then data related to this country will show without refreshing the page. Thanks -- You received this message because you are sub

Re: Django and AJAX

2019-05-10 Thread DEEPAK RAGHAV
Mention not😎 On Sat, May 11, 2019 at 12:16 AM Karan Mittal wrote: > Thanks Deepak it was really helpful > > On Fri, May 10, 2019 at 11:57 PM DEEPAK RAGHAV < > deepaksinghragh...@gmail.com> wrote: > >> >> https://steemit.com/utopian-io/@ajmaln/part-1-creating-a-simple-chat-app-with-djangorestfra

Re: Django and AJAX

2019-05-10 Thread Karan Mittal
Thanks Deepak it was really helpful On Fri, May 10, 2019 at 11:57 PM DEEPAK RAGHAV wrote: > > https://steemit.com/utopian-io/@ajmaln/part-1-creating-a-simple-chat-app-with-djangorestframework > > On Fri, May 10, 2019 at 11:27 PM Karan Mittal > wrote: > >> Hey Guys can someone tell me some nice

Re: Django and AJAX

2019-05-10 Thread DEEPAK RAGHAV
https://steemit.com/utopian-io/@ajmaln/part-1-creating-a-simple-chat-app-with-djangorestframework On Fri, May 10, 2019 at 11:27 PM Karan Mittal wrote: > Hey Guys can someone tell me some nice AJAX Django tutorials? I searched a > lot and didn't found anything that was actually good. > Thanks in

Django and AJAX

2019-05-10 Thread Karan Mittal
Hey Guys can someone tell me some nice AJAX Django tutorials? I searched a lot and didn't found anything that was actually good. Thanks in Advance, it will be a great help. Thanks Karan Mittal Technical Writer DataFlair -- You received this message because you are subscribed to the Google Groups

Re: Django and Ajax, Django not returning posted data.

2014-11-12 Thread Collin Anderson
Hello, In your first method (non-json), try console.log(data) in the success function. When you tried json, was there any other error in the console? What about the network tab? Collin -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsu

Re: Django and Ajax, Django not returning posted data.

2014-11-05 Thread G Z
updated my ajax to the following but for somereason it just says something went wrong $(document).ready(function() { $('#get_info').submit(function() { $.ajax({ type: "POST", url: "/vmstatus/", dataType: "json", async:

Re: Django and Ajax, Django not returning posted data.

2014-11-05 Thread G Z
Another note is I try to return posted data and out put it to the html for testing and that doesn't get returned either. -- 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 e

Django and Ajax, Django not returning posted data.

2014-11-05 Thread G Z
So I'm trying to write an ajax script that post data to django without having to leave the page. Currently it is on submit however eventually im going to put it on a timer. Right now the function outputs to the console as a success but no data is returned from django. Here is my ajax $(docu

Re: Django and AJAX jQuery

2014-09-01 Thread Martin Spasov
Perfect, thank you On 9/1/14, Collin Anderson wrote: > If the url name is not guessable (for example, it includes a secure random > string, like django's forgot password url), that should provide enough > security. > > Though you can always pass in the csrf token using javascript: > https://docs.

Re: Django and AJAX jQuery

2014-09-01 Thread Collin Anderson
If the url name is not guessable (for example, it includes a secure random string, like django's forgot password url), that should provide enough security. Though you can always pass in the csrf token using javascript: https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#ajax -- You receive

Django and AJAX jQuery

2014-09-01 Thread Martin Spasov
I am completely new to AJAX and I was wondering. I have a a view that ajax is posting to but in order for the request to be processed in the view correctly i have to add csrf_exempt decorator to that view, but is that safe? I named the url for that view with a name that would not be guessable,

Re: Problem with Django and AJAX: Empty responsetext

2011-11-21 Thread Furbee
hough it seemed like a bug, but it has been too long and I can't remember exactly what the problem was. Keep me posted. Furbee On Mon, Nov 21, 2011 at 1:10 PM, Schmidtchen Schleicher < spiolli...@googlemail.com> wrote: > I'm trying to do a simple google-suggest like thing with dja

Problem with Django and AJAX: Empty responsetext

2011-11-21 Thread Schmidtchen Schleicher
I'm trying to do a simple google-suggest like thing with django and ajax. I wrote a view for creating the response and try to use it via an XMLHttpRequest. Here's my view: def category_suggest(request): > if request.method == "GET": > return_categories =

Re: Problem using django and ajax-jQuery

2011-03-07 Thread Daniel Roseman
On Monday, March 7, 2011 3:32:51 PM UTC-8, Rami wrote: > > Thanks Andy! > > 1- you were correct about the form submitting the get method. > > 2- As you mentioned, the when I change the if statement to > "request.GET.has_key('ajax')", it gets executed. the "?ajax" apparently > causes the statemen

Re: Django and Ajax (mootools/clientcide) Fupdate encoding problems

2009-04-28 Thread Bartek SQ9MEV
Karen Tracey pisze: > > Sharing with the list what, exactly, the 'results far from expected' > look like would be a start. I assume from the subject that you are > getting some sort of encoding exception, but without the traceback it is > a bit difficult to say where exactly the problem is. Ind

Re: Django and Ajax (mootools/clientcide) Fupdate encoding problems

2009-04-28 Thread Karen Tracey
2009/4/28 Bartek SQ9MEV > > What would be the best idea to handle this problem? Where does it > originate? > Any idea where to start investigation? > > Sharing with the list what, exactly, the 'results far from expected' look like would be a start. I assume from the subject that you are getting

Django and Ajax (mootools/clientcide) Fupdate encoding problems

2009-04-28 Thread Bartek SQ9MEV
Hi Im using clientcide fupdate which generates ajax request: http://dpaste.com/38671/ My post data includes some national (polish) characters, when i try to save them i get results far from expected. My view is at http://dpaste.com/38672/ What would be the best idea to handle this problem? Wher

Re: Django and Ajax

2006-10-10 Thread Waylan Limberg
ou tell me about the > > combination between Django and Ajax? did somebody used Ajax with > > Django; if yes... how it was it? > > the topic has been discussed many times in the last few days. A search > could give you part of the answer or even the full one ;-) > You can also

Re: Django and Ajax

2006-10-10 Thread Nicolas Steinmetz
puyuus a écrit : > hello again! > there are 2 weeks since i started using Django and I can say that i > done a lot of things easier then in PHP. > just one problem for today what can you tell me about the > combination between Django and Ajax? did somebody used Ajax with &

Django and Ajax

2006-10-10 Thread puyuus
hello again! there are 2 weeks since i started using Django and I can say that i done a lot of things easier then in PHP. just one problem for today what can you tell me about the combination between Django and Ajax? did somebody used Ajax with Django; if yes... how it was it