Django:访问第三方应用程序数据库
答
是的,你可以做到这一点。第三方应用程序正在使用与您自己的模型相同的数据库。只需导入模型并进行查询:
from tinycontent.models import TinyContent
objects = TinyContent.objects.all()