Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这可能是一个真正愚蠢的问题。但是你如何获得所有 sql 语句 django-admin.py 将要运行或从 syncdb 命令运行?
use SQL for the command which will return all the SQL it will attempt to run
django-admin.py sqlall <App>