Django - Multiple Databases | inspectdb command | Database Routers

preview_player
Показать описание

This video looks at how to use multiple databases in a Django project, and demonstrates the use of the inspectdb command, database routers in Django, and how to synchronize external data from a secondary database to a local database.

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
01:24 Introduction to multiple databases
04:02 Connecting to additional databases with DATABASES setting
05:08 Auto-generating Django models with inspectdb command
11:36 Using data from multiple databases in our apps
14:47 Database Routers in Django
22:16 Synchronising external database data to local database

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:

#python #django #webdevelopment
Рекомендации по теме
Комментарии
Автор

It would be great if you could make a django DRF series. With your django ORM I enhanced my knowledge and am looking to DRF now.

sdei
Автор

Great video as always! Would love to see a future video on djangorestframework-api-key

cryptosimon
Автор

Thanks cool video. I think it might be interesting to make a follow up on how to integrate the admin with multiple databases, especially handling permissions for the non-default-database models can be difficult.

erchenstein
Автор

Very interesting technics, thanks a lot

FernandoLopez-vcld
Автор

You are amazing, I solved lots of issue by following your guides.
Im having trouble to implement it on Sybase DB. I hope you can give it a hint on your next coming tutorials. Thank you very much.

TimePasser
Автор

Hi, can we expect next video about database indexing and sharding in django orm? Thanks

rahuldey
Автор

So, this is for connect databases but maybe I didn’t understand very well, the synchronization connection between the default db and the external db it’s just getting the courses but on the default db is not creating a new table, it’s just getting and showing but not writing?

Very advanced tutorial, thank you very much your your knowledge

albertomeza
visit shbcf.ru