GS
Size: a a a
GS
А
GS
images = request.FILES.getlist('image')[:15] # Поменял
for img in images:
photo = PhotoPostSerializers(data=request.data)
# Сохраняем фотографии
if photo.is_valid():
photo.save(image=img)
А
M
OV
wares__name
M
wares__name
|Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: 'Video' object has no attribute 'wares__name'
OV
wares_set.name
'M
wares_set.name
'Traceback (most recent call last):
File "<console>", line 1, in <module>
AttributeError: 'Video' object has no attribute 'wares_set'
M
OV
related_name='wares',
OV
wares.name
'e
M
M
e
e
e