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
6
votes
2 answers

how to send file data using Dajaxice?

I am using ajax for my website. I have successfully used jQuery.ajax() to asynchronously upload file to server. I am using Dajax and Dajaxice therefore I plan to use these application for file upload as well. I tried this example. It is working…
Aryaveer
  • 913
  • 1
  • 12
  • 27
5
votes
2 answers

Django Dajax vs Dajaxice

This may be a very silly question but I'm looking at implementing ajax in my django project and the big plugin seems to be dajax/dajaxice however I can't for the life of me distinguish between the two. Could someone clear this up a little for me?…
apardes
  • 3,552
  • 6
  • 34
  • 59
3
votes
1 answer

Dajaxice function not callable error after initial setup

I just set up Django and Dajaxice and I am having trouble getting it to work after closely checking the documentation for both Django set up and Dajaxice. After some research here at stack overflow the only thing I found was to make sure that I had…
drdre
  • 31
  • 2
3
votes
3 answers

Making jquery plugins work after an Ajax call

It's gonna be a long post, but I really had enough of trying to fix this. I'm really looking for some help solving my case. First: fade.js: $(document).ready(function(){ $(".gallery ul li img.a").fadeTo("slow", 0.5); // This sets the opacity of the…
min
  • 3,560
  • 2
  • 24
  • 43
2
votes
2 answers

django form.is_valid() always returns false

My is valid function in my view always seems to be returning false even though the post seems to be sending the right data (I think). I'm pretty new to django and python and I'm using the Django Docs as a guide. I am also trying to implement my form…
Abhinav Nair
  • 116
  • 10
2
votes
1 answer

How to import dajaxice?

I'm a nooby to django and I tried many hours to get a simple example of dajaxice running, but I don't seem to find the right way to look for the files. I did and redid installation and tried to find answers in the numerous similar questions on…
kmgrds
  • 131
  • 2
  • 11
2
votes
1 answer

using dajax, dajaxice in heroku

I'm using dajax / dajaxice. But when I upload my app to heroku, I found crash log 2012-12-04T08:32:36+00:00 heroku[web.1]: Starting process with command `python manage.py runserver 0.0.0.0:45991 --noreload` 2012-12-04T08:32:37+00:00 app[web.1]:…
JD Yang
  • 351
  • 2
  • 3
  • 15
2
votes
2 answers

Dajaxice: Having trouble getting Dajaxice working

I know, I know, the first thing you are thinking is to check all of the instructions online and on dajaxproject.com Well I have checked and checked and rerun this installation and I cannot figure out what the problem is. I assume it has something to…
John Zeller
  • 555
  • 2
  • 7
  • 19
2
votes
1 answer

How to "reset" click event (with qtip2)?

I have a little question about the click event and qtip2. After the first click on element $j('a[href^="/i/"]'), when I move again over it, the bubble appears. I would like that the bubble appears everytime I click on the element. My…
enri
  • 482
  • 1
  • 5
  • 10
1
vote
1 answer

Jquery's Ajax or Dajax for a django project?

I want to use AJAX in a django website. As far as I know, I can do that via JQuery API, such as $.ajax() and .load(). But I also recognized that there is a very popular 3rd party plug-in for django called Dajax. So what are the pros and cons for…
Xiao Liang
  • 703
  • 2
  • 7
  • 11
1
vote
1 answer

how can i reverse back to home page without reload it

In my project, I have 2 models Article and Quote. Every time, a user click a button in the home page, it will add the related quote into user's article. The Article.models look like this: class Article(models.Model): user =…
Leonsion
  • 13
  • 3
1
vote
1 answer

How do I get django-debug-toolbar to work with dajax?

It seems that dajax is hi-jacking the ajax requests from django-debug-toolbar Is there anyway to work around this or a known solution?
cph
  • 408
  • 5
  • 23
1
vote
1 answer

Dajax example doesnt work

So I'm trying to get the hang of Dajaxice for Django. Everything was fine till I used Dajaxice, but just I tried Dajax I gat trouble. I made a new project and inside it an example app. So then I made a button - Button 1 in a template which uses a…
MickJagger
  • 23
  • 4
1
vote
1 answer

Update GET request in Dajax

I am trying to make it possible to update search results with Dajax as you change the search parameters. I have a GET request for the word search, and would like to modify it using Dajax. I understand this query has to be in POST format, but how…
OriolAnd
  • 13
  • 1
  • 7
1
vote
0 answers

Setting dajax cache false

I'm using django v.1.6 and dajaxice v.0.6. I've run into a problem with ajax not functioning on some android devices running Chrome. From what I understand, this is a caching problem. People using ajax on it's own seem to be getting round the…
PeasNRice
  • 11
  • 2
1
2 3 4