dajaxice is a JS-framework agnostic that focuses on decoupling the presentation logic from the server-side logic. Its main goal is to trivialize the asynchronous communication between the django server side code and your js code.
Questions tagged [dajaxice]
111 questions
2
votes
3 answers
CSRF verification failed. Request aborted. // Dajaxice, Ajax
I am using Daxice library to create AJAX calls in my Django app.
When I create a POST method on a form I get the mentioned error:
Forbidden (403)
CSRF verification failed. Request aborted.
My settings.py have:
MIDDLEWARE_CLASSES = (
…

Diolor
- 13,181
- 30
- 111
- 179
2
votes
0 answers
error importing Dajaxice 'no module named "Dajaxice"'
I have followed this tutorial several times and double and triple-checked that I did it correctly:
http://django-dajaxice.readthedocs.org/en/latest/installation.html
I am using Windows and have installed Dajaxice. I can enter the Django api and…

sugarmuff
- 435
- 5
- 17
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
- 13
2
votes
1 answer
Dajaxice with Class Based View
Is there a way to user dajaxice with django class based views?
I'm trying this, but not having much success:
class FavoriteEnroledTrainee(SessionMixin, View):
def get(self, request, *args, **kwargs):
print 'here'
…

Filipe
- 3,398
- 5
- 21
- 35
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
- 371
- 2
- 3
- 16
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
- 575
- 2
- 7
- 22
2
votes
2 answers
dajax.core ImportError at /No module named
I've installed dajaxice by this tutorial:
Copied folder "dajaxice" (from archive) to project folder.
Added all changes to setting.py & urls.py
Added next lines to template:
{% load dajaxice_templatetags %}
{% dajaxice_js_import %}
Created ajax.py…

Skitalec
- 21
- 5
2
votes
1 answer
Why does Dajaxice and Dajax uses MEDIAL_URL?
In Dajaxice's installation documentation, it says to set DAJAXICE_MEDIA_PREFIX in settings.py. Later that value is retrieved in the urls.py.
In Dajax's installation documentation (which is 2 years old), it says to load the static file like…

hobbes3
- 28,078
- 24
- 87
- 116
1
vote
1 answer
Django Dajax jQuery basic settings
Maybe it is so trivial but I simply can't get Dajax to work with jQuery. Everything works as expected with prototype but how to setup dajax to work with jquery? I'm use dajaxexamples and there is everything setup for prototype.
in head: