We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9999845 commit 06b8d8cCopy full SHA for 06b8d8c
3 files changed
app/plugins/oss/info.py
@@ -1,2 +1,3 @@
1
+__name__ = 'oss'
2
__version__ = '0.0.1'
3
__author__ = 'Lin team'
app/plugins/poem/app/__init__.py
@@ -12,6 +12,9 @@ def initial_data():
12
13
app = create_app()
14
with app.app_context():
15
+ data = Poem.query.limit(1).all()
16
+ if data:
17
+ return
18
with db.auto_commit():
19
# 添加诗歌
20
img_url = 'http://yanlan.oss-cn-shenzhen.aliyuncs.com/gqmgbmu06yO2zHD.png'
vendor/plugin_init.py plugin_init.pyvendor/plugin_init.py renamed to plugin_init.py
0 commit comments