Django Book 翻译
菜单>:
TOC
返回
原文:
A drawback of this approach, however, is that its possible for the Python code to get out of sync with whats actually in the database. If you make changes to a Django model, youll need to make the same changes inside your database to keep your database consistent with the model. Well detail some strategies for handling this problem later in this chapter.
翻译:
当然,这个方法也有一个缺点,就是Python代码和数据库表的同步问题。如果你修改了一个Django模型, 你要自己做工作来保证数据库和模型同步。我们将在稍后讲解解决这个问题的几种策略。
备注:
译者: