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

Dajax Hello World

I can't seem to get a simple hello world response from Dajax, after all day of working on hello world. (I'm sure you'll realize that this is word for word from the hello world guide) I have an apps folder Example: proj/apps/myapp I have created…
moreisee
  • 408
  • 8
  • 17
0
votes
1 answer

Progress indicator in dajax/dajaxice?

I sucessfully integrated dajax in my project. It is fine but it lacks some features which could make it even better - eg. visible indicator that the request is being processed (darken screen, hourglass, whatever). I found some places in dajaxice.js…
Ladiko
  • 279
  • 2
  • 4
  • 10
0
votes
0 answers

how can I add ajax gif image while sending request to server and get response in django with dajaxice?

this is my template(profile.html): here is my ajax.py : from django.utils import simplejson from dajaxice.decorators import…
mojibuntu
  • 307
  • 3
  • 16
0
votes
2 answers

Where to create html? Server or client side?

I am using dajax for ajax in my django app. After getting some data from database I create list of
  • elements in my python ajax.py and assign it with dajax to inner html of some container. Like this: @dajaxice_register def…
  • Vladimir Nani
    • 2,774
    • 6
    • 31
    • 52
    0
    votes
    0 answers

    TemplateDoesNotExist: dajaxice/dajaxice.core.js - occurs when I run collectstatic

    I have installed Dajax and Dajaxice - and have them running fine on my local environment. However, on my test server I get the following error now when I try to use manage.py collectstatic: TemplateDoesNotExist: dajaxice/dajaxice.core.js My…
    tominwood
    • 83
    • 1
    • 2
    • 5
    0
    votes
    1 answer

    Where put my dajax file? Django

    I am a noob and I want to know where put the ajax.py? In the dajax documentation they don give you that information. Is it in the '/static' folder?
    Cris Towi
    • 1,141
    • 2
    • 10
    • 15
    0
    votes
    1 answer

    Why doesn't dajax assign work?

    Either I'm not seeing the obvious or something fundamental must be wrong. I'm playing around with dajax and first everything seemed to be working right. That is the alert "Hello world" test went through. But for some reason I can't get the assign…
    LarsVegas
    • 6,522
    • 10
    • 43
    • 67
    0
    votes
    1 answer

    How to specify Synchronous request in Dajax or Dajaxice?

    I need to set the equivalent 'async' setting of jQuery.ajax() in Dajax or Dajaxice requests to avoid continue the script execution before my Dajaxice callback ends. $(".some_selector").click( Dajaxice.apps.forum.forum_com(my_js_callback,…
    ecdani
    • 361
    • 3
    • 14
    0
    votes
    0 answers

    Dajax: having trouble with the simple form in dajaxproject.com?

    I'm trying to test a simple form that display options in a second combobox by selecting option in the first one. So I tried to use dajax and I started by testing a very simple form exists in http://www.dajaxproject.com/forms/ I do all what they said…
    Imoum
    • 745
    • 3
    • 12
    • 24
    0
    votes
    3 answers

    How to get simple, Hello World Dajaxice interaction to work?

    I'm trying to get Django to produce working Ajax interactions on my web page. I have followed the instructions for django-dajaxice here: http://django-dajaxice.readthedocs.org/en/latest/quickstart.html and here:…
    Saqib Ali
    • 11,931
    • 41
    • 133
    • 272
    0
    votes
    2 answers

    Dajaxice installation walkthrough

    I've tried every which way to install Dajaxice to test it out, but no matter WHAT, I can seem to serve all the JS files appropriately, but can't EVER seem to actually call the functions in ajax.py. Specifically, in my template, I've got a button…
    Alex Whittemore
    • 1,015
    • 10
    • 19
    0
    votes
    1 answer

    Dajaxice & Dajax DEBUG=False

    How can I turn off Dajaxproject alert 'Something goes wrong' ? Sometimes my dajax functions returns empty data, hence variables in html are None. It does suit me however dajax alert is displayed. I have heard there is DAJAXICE_EXCEPTION but I do not…
    user1403568
    • 493
    • 1
    • 5
    • 14
    0
    votes
    2 answers

    django : where is dajax file?

    I'm working fine with dajaxice. Now, I want to use dajax. I installed it, and I put that line is changed as