django-dajaxice

33 views
Skip to first unread message

Zoubeida

unread,
Oct 24, 2013, 9:59:12 AM10/24/13
to django...@googlegroups.com
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??
Reply all
Reply to author
Forward
0 new messages