是否可能在同一个Django项目中有单独的SQLite数据库? [英] Is it possible to have separate SQLite databases within the same Django project?

查看:96
本文介绍了是否可能在同一个Django项目中有单独的SQLite数据库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑为Django项目上的某些应用程序创建单独的SQLite数据库。

然而,如果可能的话,我不想使用直接的SQLite访问。
Django式ORM访问这些数据库将是理想的。

这是否可能?

I was considering creating a separate SQLite database for certain apps on a Django project.
However, I did not want to use direct SQLite access if possible. Django-style ORM access to these database would be ideal.
Is this possible?

谢谢。

推荐答案

已经支持 http://docs.djangoproject.com/en/dev/topics/db/multi-db/

这篇关于是否可能在同一个Django项目中有单独的SQLite数据库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆