views:

266

answers:

1

Hey i'm using JSON with appengine.

I'm using json for comunication, so in the python side i have

import json

the error i'm getting is this:

<class 'django.core.exceptions.ViewDoesNotExist'>: Could not import views.ganttapp. Error was: No module named json

In my stand alone this works great, is there any problem with json on the app engine? or should I use another module?

I dunno if you can open this but here it goes: http://ganttapp.appspot.com/newgantt you can find the error here

+5  A: 

Maybe you can import the django simplejson wrapper:

 from django.utils import simplejson  
aeby
This is indeed the answer, from the official docs: http://code.google.com/appengine/articles/rpc.html (also the first hit for [app engine json] in Google)
Jason Hall