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,
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
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
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
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
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
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
7 matches
Mail list logo