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 - https://youtu.be/6OznDn_t9qM
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.