V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  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
hustlzp
V2EX  ›  Python

Flask中如何使用RMDBS?

  •  
  •   hustlzp · Mar 22, 2013 · 3442 views
    This topic created in 4797 days ago, the information mentioned may be changed or developed.
    刚接触Flask不久,目前操作MySQL用的是MySQLdb库,不过写多了之后感觉蛮烦的,每次都要写一大串SQL语句CRUD,所以打算另寻出路。

    大家能否分享下平时使用RMDBS的方法?Flask官方文档中推荐了SQLAlchemy这种ORM来作为RMDBS的access层,正在看文档,不知道好不好用...
    4 replies    1970-01-01 08:00:00 +08:00
    fishsjoy
        1
    fishsjoy  
       Mar 22, 2013
    flask-sqlalchemy
    phuslu
        2
    phuslu  
       Mar 22, 2013
    flask-admin 可用度很高。
    ivanlw
        3
    ivanlw  
       Jun 4, 2013
    最近也在用Flask写东西,不知道楼主有什么心的方案没有……奇怪这个帖子这么冷清?
    hustlzp
        4
    hustlzp  
    OP
       Jun 4, 2013
    @ivanlw 最近在做Node相关的项目,过段时间再重整Flask,计划多尝试几个 http://flask.pocoo.org/extensions/ 列出的extension。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 12:53 · PVG 20:53 · LAX 05:53 · JFK 08:53
    ♥ Do have faith in what you're doing.