Hello all,
i have configured ajaxice in my templates and i have created an ajax.py file
i have a function
when i call it from my template all my code instructions is executed
but when it finish i have an error
[15:40:31,597] TypeError: dajaxice_callback is not a function @ /static/dajaxice/dajaxice.core.js:78
this is my function:
@dajaxice_register
def updateafterdrag(request, data):
dajax = Dajax()
//instructions
return dajax.json()
anyone has an idea, i want to reload my page after executing instractions??
-- i have configured ajaxice in my templates and i have created an ajax.py file
i have a function
when i call it from my template all my code instructions is executed
but when it finish i have an error
[15:40:31,597] TypeError: dajaxice_callback is not a function @ /static/dajaxice/dajaxice.core.js:78
this is my function:
@dajaxice_register
def updateafterdrag(request, data):
dajax = Dajax()
//instructions
return dajax.json()
anyone has an idea, i want to reload my page after executing instractions??
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6d18c567-0d4d-4252-beb8-a0419cf255f5%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment