BE
Size: a a a
BE
А
'name_company', 'name_company__company'
'name_company__company'
BE
'name_company', 'name_company__company'
'name_company__company'
BE
А
BE
А
# Hits the database with joins to the author and hometown tables.
b = Book.objects.select_related('author__hometown').get(id=4)
p = b.author # Doesn't hit the database.
c = p.hometown # Doesn't hit the database.
BE
BE
BE
А
YY
YY
YY
Н
(1364, "Field 'numlinks' doesn't have a default value")
Д
Д
S
S