Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
为什么我的 Flask App 直接运行可以用 db.session.add(user) 写入数据库,而在服务器上用 Gunicron 部署时却不行呢?
LokiSharp
·
LokiSharp
·
Feb 24, 2016
· 3669 views
This topic created in 3801 days ago, the information mentioned may be changed or developed.
由 Flask + Gunicron + Supervisor + Nginx 部署
代码在这
https://github.com/LokiSharp/Sharloki-Blog
https://gist.github.com/LokiSharp/8cbfe370793af2448e09
显示 Gist 代码
这一段是无法写入数据库的部分
form
user
Data
flask
3 replies
•
2016-02-25 11:49:30 +08:00
1
sunus
Feb 24, 2016
@
LokiSharp
看下出错信息呢?
2
chy373180
Feb 24, 2016
commit?
3
phithon
Feb 25, 2016
没有 commit
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
5357 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 93ms ·
UTC 05:50
·
PVG 13:50
·
LAX 22:50
·
JFK 01:50
♥ Do have faith in what you're doing.
❯