simply-py:在Google App Engine中创建python应用程序的简单蓝图

时间:2024-06-10 08:14:41
【文件属性】:

文件名称:simply-py:在Google App Engine中创建python应用程序的简单蓝图

文件大小:33KB

文件格式:ZIP

更新时间:2024-06-10 08:14:41

Python

简单地 在Google App Engine中创建python应用程序的简单蓝图 创建配置数据 您可以使用配置模型来存储私有详细信息,例如API密钥。 为此,您还需要通过将以下内容添加到您的app.yaml中来启用远程外壳功能: builtins: - remote_api: on 然后,您可以连接到您的Shell并创建第一个配置: from models import Configuration config = Configuration(id="" key="", value="") config.put() 一旦创建了该值,您就可以通过数据查看器创建其他配置。


【文件预览】:
simply-py-master
----.gitignore(232B)
----templates()
--------admin()
--------index.html(900B)
--------base.html(597B)
----headers.py(423B)
----static()
--------js()
--------css()
----content_api.py(2KB)
----models.py(154B)
----README.md(642B)
----admin.py(960B)
----formats.py(141B)
----app.py(590B)
----app.yaml(275B)
----configuration.py(343B)
----gae.py(96B)

网友评论