Questions tagged [dajax]

Dajax is a set of "easy to use" AJAX libraries for Django

django-dajaxice

Dajaxice is the communication core of dajaxproject. Its main goal is to trivialize the asynchronous communication between the Django server-side code and JavaScript code.

dajaxice is JS-framework agnostic and focuses on decoupling the presentation logic from the server-side logic.

django-dajax

Dajax is a tool to develop asynchronous presentation logic in web applications using Python very little JavaScript code.

Dajax supports four popular JavaScript frameworks:

  • jQuery
  • Prototype
  • Dojo
  • mootols

Links

60 questions
0
votes
1 answer

from dajax.core import Dajax gives cannot import name simplejson error

When I run from dajax.core import Dajax It gives cannot import name simplejson Whats the fix? I have installed dajax libraries along with django.
Rads
  • 345
  • 1
  • 4
  • 11
0
votes
1 answer

$.ajax() with django fails

I'm trying to get a static file (a js script) from django (development server) using jquery ajax but something is preventing the $.ajax promise to resolve. Here's my ajax call : $.when( $.ajax({dataType: "script", cache: true, url:…
PhilipGarnero
  • 2,399
  • 4
  • 17
  • 24
0
votes
3 answers

Dajax not working

Dajax is not working, I am not able to understand why. I am using Django 1.7 My ajax.py file looks this: from dajax.core import Dajax from dajaxice.decorators import dajaxice_register @dajaxice_register def jmc_foundation_tower_number(request,…
Sourabh Dev
  • 743
  • 11
  • 22
0
votes
0 answers

can't make dajax example make work - FunctionNotCallableError

I installed dajaxice and dajax as docs mentioned. I tried dajaxice and it's alert() example and it worked. Then I tried dajax. I would like to make multiply example work on my website. Pokervalue is project name and tournament is app name. Install…
Lucas03
  • 2,267
  • 2
  • 32
  • 60
0
votes
0 answers

How to grab a file from django select DocumentForm?

I have a select form in django templates:
{% csrf_token %}