简体   繁体   中英

Mongodb with django using djongo?

如果我在djongo第三方api的帮助下在django项目中使用mongodb,是否应该在每次更改模型时再次使用命令migration和makemigrations?

I'm assuming you're referring to this djongo https://nesdis.github.io/djongo/integrating-django-with-mongodb/ - You only run the integration once. Once you set it up and working, it forces Django to store everything in MongoDB. - So when you make changes in your models, the changes are forced into your MongoDB.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM