推荐学习书目
› 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 · 3696 views
    This topic created in 4975 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
    fishsjoy
    Mar 22, 2013
    1
    flask-sqlalchemy
    phuslu
    phuslu
    Mar 22, 2013
    2
    flask-admin 可用度很高。
    ivanlw
    ivanlw
    Jun 4, 2013
    3
    最近也在用Flask写东西,不知道楼主有什么心的方案没有……奇怪这个帖子这么冷清?
    hustlzp
    hustlzp
    OP
    Jun 4, 2013
    4
    @ivanlw 最近在做Node相关的项目,过段时间再重整Flask,计划多尝试几个 http://flask.pocoo.org/extensions/ 列出的extension。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5198 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 01:30 · PVG 09:30 · LAX 17:30 · JFK 20:30
    ♥ Do have faith in what you're doing.