Earlier it was necesary to install google-app-engine-django helper and distribute Django in zip. But how should I use it now after that they updated Google App Engine with Django 1.0.2.
之前需要安装google-app-engine-django帮助程序并在zip中分发Django。但是,在他们使用Django 1.0.2更新Google App Engine后,我应该如何使用它。
1 个解决方案
#1
in your code you need to add
在您的代码中,您需要添加
from google.appengine.dist import use_library
use_library('django', '1.0')
The documentation in your 3rd link talks you through the process quite well but remember that its not in the SDK yet so you will have to update your local version manually
第3个链接中的文档很好地讲述了整个过程,但请记住它不在SDK中,因此您必须手动更新本地版本
#1
in your code you need to add
在您的代码中,您需要添加
from google.appengine.dist import use_library
use_library('django', '1.0')
The documentation in your 3rd link talks you through the process quite well but remember that its not in the SDK yet so you will have to update your local version manually
第3个链接中的文档很好地讲述了整个过程,但请记住它不在SDK中,因此您必须手动更新本地版本