Re: Do you know good guides to use ajax in django

2018-04-26 Thread CARLOS EDUARDO DAVALOS CORNEJO
thanks for you answer y wiil read the documentation 2018-04-26 4:42 GMT-07:00 Avraham Serour : > I suggest taking a look at http://intercoolerjs.org > > > On Thu, Apr 26, 2018 at 7:36 AM, > wrote: > >> Im starting a social network for my school and i need to show the coments >> of my post witho

Re: Do you know good guides to use ajax in django

2018-04-26 Thread Avraham Serour
I suggest taking a look at http://intercoolerjs.org On Thu, Apr 26, 2018 at 7:36 AM, wrote: > Im starting a social network for my school and i need to show the coments > of my post without recharging the whole and for other things in my proyect > > -- > You received this message because you are

Do you know good guides to use ajax in django

2018-04-26 Thread carlos . davalos17
Im starting a social network for my school and i need to show the coments of my post without recharging the whole and for other things in my proyect -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivi

Re: Ajax in Django

2015-09-19 Thread Martin Torre Castro
If you use jQuery (I do), making AJAX requests is incredibly easy. Just use the $.get(), $.post() or $.ajax() functions. If you have any doubt, the api.jquery.com page has all the references and information for using them (search for jQuery.get(), jQuery.post() and jQuery.ajax() ). On Monday,

Re: Ajax in Django

2015-08-31 Thread Dheerendra Rathor
Ajax are just normal HTTP requests. You can write a view in your code which returns data from db. If it is a post requests then make sure you're adding "csrfmiddlewaretoken" in the ajax data. On Mon, 31 Aug 2015 at 19:30 jasir1903 wrote: > How to retrive Data from Db in Django to Template using

Ajax in Django

2015-08-31 Thread jasir1903
How to retrive Data from Db in Django to Template using Ajax? I am new to Django i need to retrive the data WITHOUT PAGE REFRESH USING AJAX please help me with that.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Re: Ajax in Django

2009-08-12 Thread Jorge Bastida
I' currently working in/with Dajax. http://code.google.com/p/dajaxproject/ I hope it helps you. -- neo2001[at]gmail.com jorge[at]thecodefarm.com neo[at]art-xtreme.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Ajax in Django

2009-08-12 Thread Malcolm Tredinnick
On Wed, 2009-08-12 at 11:47 +0300, Jani Tiainen wrote: > HB kirjoitti: > > Hey, > > Why Django doesn't provide integration with Ajax out of the box (like > > Rails and Wicket)? > > It all depends what you mean by "integration"? > > You can use (model)forms with Ajax, or use any other means if yo

Re: Ajax in Django

2009-08-12 Thread Jani Tiainen
HB kirjoitti: > Hey, > Why Django doesn't provide integration with Ajax out of the box (like > Rails and Wicket)? It all depends what you mean by "integration"? You can use (model)forms with Ajax, or use any other means if you wish. Only thing that django doesn't provide is Ajax form rendering

Ajax in Django

2009-08-12 Thread HB
Hey, Why Django doesn't provide integration with Ajax out of the box (like Rails and Wicket)? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u

Re: problem using ajax in django

2009-06-10 Thread newbie
@DR: Yeah...you are right and that is why even i was confused with the error. Finally i phrased out the problem and it was because i did not restart the server after making changes to the view. In development environment, it automatically done but when we deploy it on apache server, its not. So t

Re: problem using ajax in django

2009-06-10 Thread Daniel Roseman
On Jun 10, 10:50 am, newbie wrote: > Hi, > >          I have written a small javascript ajax code in my django > application. Its working fine in the development environment. But when > i use the same code in the same django application running on apache > and also on  a different url(if it matte

Re: problem using ajax in django

2009-06-10 Thread Adam Stein
Don't know if this will help, but when I use AJAX, I don't set the mimetype in HttpResponse(), I just pass simplejson.dumps() to HttpResponse(): return HttpResponse(simplejson.dumps(response)) This approach works with Firefox, IE6, & IE7. On Wed, 2009-06-10 at 02:50 -0700, newbie wrote:

problem using ajax in django

2009-06-10 Thread newbie
Hi, I have written a small javascript ajax code in my django application. Its working fine in the development environment. But when i use the same code in the same django application running on apache and also on a different url(if it matters), it is not working. I have tried using Fire

Re: using ajax in django

2009-05-15 Thread maxent
@newbie - @margie already gave you a great answer. follow this series of blog posts: http://lethain.com/entry/2008/sep/21/intro-to-unintrusive-javascript-with-django/ http://lethain.com/entry/2008/sep/24/custom-django-views-for-happier-ajax/ http://lethain.com/entry/2008/sep/25/layers-of-authent

Re: using ajax in django

2009-05-15 Thread newbie
Thank you very much for the support. But any tutorial for jquery would b preferable On May 15, 2:52 pm, jai wrote: > I have document in my blog about Ajax based form submission in > django.  pls gone through this > urlhttp://jayapal-d.blogspot.com/2009/05/django-ajax-submit-form.html > > Jayapa

Re: using ajax in django

2009-05-15 Thread newbie
Thank you very much for the support. On May 15, 2:52 pm, jai wrote: > I have document in my blog about Ajax based form submission in > django.  pls gone through this > urlhttp://jayapal-d.blogspot.com/2009/05/django-ajax-submit-form.html > > Jayapal > > On May 15, 11:18 am, Margie wrote: > > >

Re: using ajax in django

2009-05-15 Thread jai
I have document in my blog about Ajax based form submission in django. pls gone through this url http://jayapal-d.blogspot.com/2009/05/django-ajax-submit-form.html Jayapal On May 15, 11:18 am, Margie wrote: > I found a very good tutorial > athttp://lethain.com/entry/2008/sep/21/intro-to-uni

Re: using ajax in django

2009-05-14 Thread Margie
I found a very good tutorial at http://lethain.com/entry/2008/sep/21/intro-to-unintrusive-javascript-with-django/. I've just gone through it and it is really simple and helpful if you have little/no familiarity with ajax. Margie On May 14, 10:08 pm, veasna bunhor wrote: > Thanks for your sheari

Re: using ajax in django

2009-05-14 Thread veasna bunhor
Thanks for your shearing a good knowledge. I'll do it. Veasna, On Thu, May 14, 2009 at 9:42 PM, zayatzz wrote: > > Im also a django beginner, but i have bit more advanced knowledge > about js/jquery > > Here's what ive learned so far: All js events happen in browser and > are all related/attac

Re: using ajax in django

2009-05-14 Thread zayatzz
Im also a django beginner, but i have bit more advanced knowledge about js/jquery Here's what ive learned so far: All js events happen in browser and are all related/attached to some DOM elements. Basic (model)form flow works like that: You create a model You create a modelform (in apps forms.py

Re: using ajax in django

2009-05-14 Thread veasna bunhor
Dear newbie, I am a fourth-year student in IT in cambodia. I just start to learn Python, and now i just start to learn about how to develop the website by using DJANGO. Could you please give to me any idea and tell me about some document for the very beginner programming. Thanks in a

using ajax in django

2009-05-13 Thread newbie
hi, I'm new to django and dont know much of javascript either. I would like to start working on them. Could someone help me write a simple form which can provide any functionality using ajax, preferably using jquery libraries. It would be great if any event other than the submit event

Re: Ajax in Django

2008-07-08 Thread Matthias Kestenholz
On Mon, 2008-07-07 at 21:50 -0700, bharathi wrote: > I am creating one Django application with jquery.. > In that Jquery function am using One Ajax script.. Django code cant > taken that ajax code... > > My code is: > > $(document).ready( > function () { > $("#sortme").Sorta

Re: Ajax in Django

2008-07-08 Thread Kenneth Gonsalves
On 08-Jul-08, at 10:20 AM, bharathi wrote: > I am creating one Django application with jquery.. > In that Jquery function am using One Ajax script.. Django code cant > taken that ajax code... this code must be put in the HEAD section of the html - so create a block 'head' in the head section

Ajax in Django

2008-07-07 Thread bharathi
I am creating one Django application with jquery.. In that Jquery function am using One Ajax script.. Django code cant taken that ajax code... My code is: $(document).ready( function () { $("#sortme").Sortable( { ac