如何优化Django 1.8中的迁移
我正在使用Django 1.8,并在迁移文件夹中拥有一个包含100多个文件的应用程序。 django中是否有任何办法而没有删除文件来“压缩”或“优化”这些迁移,以使我没有那么多的迁移?
I'm using Django 1.8 and have an app with over 100 files in the migration folder. Is there a way in Django without deleting the files to "compress" or "optimise" these migrations so I don't have so many of them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否从Django文档中阅读了此部分?
来源: https://djangoproject.com/en/ 1.8/主题/迁移/
Have you read this part from the django docs?
Source: https://docs.djangoproject.com/en/1.8/topics/migrations/