Django ORM用于桌面应用程序 [英] Django ORM for desktop application
本文介绍了Django ORM用于桌面应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
Django人是具有解耦事物哲学的理性人物。所以是的,理论上你应该完全可以在独立的应用程序中使用Django的ORM。
这是我找到的一个指南: Django ORM作为独立组件。
Recently, I have become increasingly familiar with Django. I have a new project that I am working on that will be using Python for a desktop application. Is it possible to use the Django ORM in a desktop application? Or should I just go with something like SQLAlchemy?
解决方案
The Django people are sensible people with a philosophy of decoupling things. So yes, in theory you should be perfectly able to use Django's ORM in a standalone application.
Here's one guide I found: Django ORM as a standalone component.
这篇关于Django ORM用于桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文