DT
мне получается нужно будет делать
len(Profile__posts)?
то да =)
Size: a a a
DT
D
МВ
МВ
D
i
DT
DT
МВ
DT
МВ
D
МВ
D
МВ
Z
if post.tanks.all().count() >= 1:
tank = post.tanks.all()[0]
МВ
if post.tanks.all().count() >= 1:
tank = post.tanks.all()[0]
Z
DT
if post.tanks.all().count() >= 1:
tank = post.tanks.all()[0]
if post != 0:
- почему объект сравнивается с нулем ?