Django Book 翻译
菜单>:
TOC
返回
原文:
For each model in each specified app, this command looks for the file ``
/sql/
.sql`` , where ``
`` is the given app name and ``
`` is the models name in lowercase. For example, if you have an app ``news`` that includes a ``Story`` model, ``sqlcustom`` will attempt to read a file ``news/sql/story.sql`` and append it to the output of this command.
翻译:
对于每个指定应用中的每个模型,此命令查找文件“
/sql/
.sql”,这里“
”是给定的应用名称,“
”是小写的模型名称。比如,如果你有一个应用“news”,包含一个“Story”模型,那么"sqlcustom"将会尝试读取文件“news/sql/story.sql”并追加其到此命令的输出。
备注:
译者: