Рет қаралды 2,051
In this lesson we will cover the topic of multiple databases. We will start by defining second database, and then I will show you how to manually choose db when we make queries:
Object.objects.using('db').all(),
Object.objects.using('db').create(),
object.save(using='db'),
Object.objects.using('db').get().delete().
More about basic queries - • Django Full Course - 2...