推荐学习书目
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
MrBetterman
V2EX  ›  Python

Django 用 model 生成 sql 语句怎么查看

  •  
  •   MrBetterman ·
    mr-betterman · Nov 1, 2016 · 5436 views
    This topic created in 3506 days ago, the information mentioned may be changed or developed.

    我只知道以前的 django 版本是用 python manage.py sqlall appname 现在没有 sqlall 指令了,就像 migrate 代替了 syscdb 。所以 sqlall 对应 django 1.9 的什么啊

    MrBetterman
        2
    MrBetterman  
    OP
       Nov 1, 2016
    @saggit 谢谢了
    IanPeverell
        3
    IanPeverell  
       Nov 2, 2016 via iPhone
    python manage.py sqlmigrate appName
    不知道你是不是想问的这个
    MrBetterman
        4
    MrBetterman  
    OP
       Nov 2, 2016
    @IanPeverell 已经解决了,但还是谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3123 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 14:01 · PVG 22:01 · LAX 07:01 · JFK 10:01
    ♥ Do have faith in what you're doing.