Hey there,
I have problem with dajaxice. I am trying to save vertex from google
route to my db.
Call of JS function:
Dajaxice.maps.sendRoute('sendRoute_callBack',{'data':array});
function sendRoute_callBack(data){
if(data!='DAJAXICE_EXCEPTION'){
Edit: Ajax.py not Admin.py
On 3 ún, 20:09, Alexis Selves wrote:
> Hey there,
> I have problem with dajaxice. I am trying to save vertex from google
> route to my db.
> Call of JS function:
> Dajaxice.maps.sendRoute('sendRoute_callBack',{'data':array});
>
> function sendRoute_callBack(data){
>
Hello Alexis,
Dajaxice returns DAJAXICE_EXCEPTION if your ajax function
(maps.ajax.sendRoute) raises any Exception.
Try to set DAJAXICE_DEBUG=True and see the server console or try:except: the
code inside your ajax function to see what Exception was raised
Hope it helps you.
2010/2/3 Alexis Selve
Hello DAJAXICE_DEBUG = True
in my settings.py is set already..
On 3 ún, 20:22, Jorge Bastida wrote:
> Hello Alexis,
> Dajaxice returns DAJAXICE_EXCEPTION if your ajax function
> (maps.ajax.sendRoute) raises any Exception.
> Try to set DAJAXICE_DEBUG=True and see the server console or try:except:
What version of dajaxice are you using?
The server console hasn't got any output?
Try to print out the logging info:
import logging logging.basicConfig(level=logging.DEBUG)
2010/2/3 Alexis Selves
> Hello DAJAXICE_DEBUG = True
> in my settings.py is set already..
>
> On 3 ún, 20:22, Jorge Bastid
I am using django-dajaxice-0.1.0
Console is clear.
How can print out logging info?
Where should I put this:
import logging logging.basicConfig(level=logging.DEBUG)
On 3 ún, 20:47, Jorge Bastida wrote:
> What version of dajaxice are you using?
> The server console hasn't got any output?
>
> Try t
6 matches
Mail list logo