Django Full Course - 7.0 - Multiple databases. Defining multiple databases, manually selecting db

  Рет қаралды 2,051

Django Full Course

Django Full Course

Күн бұрын

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...

Пікірлер: 3
@asgeralia8802
@asgeralia8802 6 ай бұрын
Superb sir But how to use in CRUD using foreign key
@nabiha-raza
@nabiha-raza 2 жыл бұрын
Didn't you have to make a router multiple db's?
@MW2gamer237
@MW2gamer237 2 жыл бұрын
that is in the following video 7.1
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
How to use annotate and aggregate on Django querysets
15:13
Django Full Course - 20 - Django Class Based Views. Introduction and overview
21:07
Django Multiple Database Setup Ex1
32:52
Very Academy
Рет қаралды 38 М.
Database Indexing for Dumb Developers
15:59
Laiture
Рет қаралды 89 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,3 МЛН
Django Full Course - 17.2 - Django Modelforms. Model formsets
12:19
Django Full Course
Рет қаралды 2,3 М.
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.