PM
def first(self):
objects = list((self if self.ordered else self.order_by('pk'))[:1])
if objects:
return objects[0]
return None
сделать так?
Size: a a a
PM
def first(self):
objects = list((self if self.ordered else self.order_by('pk'))[:1])
if objects:
return objects[0]
return None
Lf
Lf
MF
PM
Y
Z
Y
SB
D
SB
D
SB
DA
SB
DA
Z
SB
DA
DA