开发者

Remote execution of commands using the Django ORM

开发者 https://www.devze.com 2023-01-04 16:27 出处:网络
Can I somehow work with remote databases (if they can do it) with the Django ORM? It is understood that the sitting has spelled out the local database. And periodically to make connection to various

Can I somehow work with remote databases (if they can do it) with the Django ORM?

It is understood that the sitting has spelled out the local database. And periodically to make connection to various external data开发者_JS百科bases and perform any sort of commands such as load dump.


If you can connect to the database remotely, then you can simply specify its host/port in settings.py exactly as you would a local one.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号