开发者

Google App Engine: JSON module

开发者 https://www.devze.com 2022-12-27 07:37 出处:网络
I\'m using JSON with Google App Engin开发者_Python百科e. I\'m using JSON for comunication, so on the Python side I have:

I'm using JSON with Google App Engin开发者_Python百科e.

I'm using JSON for comunication, so on 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 Google App Engine? Or should I use another module?

I don't know if you can open this, but here it goes: http://ganttapp.appspot.com/newgantt. You can find the error here.


Maybe you can import the Django simplejson wrapper:

from django.utils import simplejson
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号