R
Size: a a a
R
МП
R
R
ZR
EC
<input type='hidden' name='destination_wallet[address]'
value='#{data.transaction_details.payment_details.destination_wallet.
address}'>
<input type='hidden' name='destination_wallet[currency]'
value='#{data.transaction_details.payment_details.destination_wallet.
currency}'>
EC
EC
EC
EC
S
d_
EC
d_
EC
GS
def post(self, request):
# Получаем фотографии
images = request.FILES.getlist('image')
for img in images:
# Сохраняем фотографии
photo = PhotoPostSerializers(data=request.data)
if photo.is_valid():
photo.save(image=img)
МП
GS
images = request.FILES.getlist('image')
if len(images) > 15:
for i in range(0, 15):
photo = PhotoPostSerializers(data=request.data)
if photo.is_valid():
photo.save(image=images[i], ad_ident=ident)
else:
for img in images:
photo = PhotoPostSerializers(data=request.data)
# Сохраняем фотографии
if photo.is_valid():
photo.save(image=img)
А
images = request.FILES.getlist('image')
if len(images) > 15:
for i in range(0, 15):
photo = PhotoPostSerializers(data=request.data)
if photo.is_valid():
photo.save(image=images[i], ad_ident=ident)
else:
for img in images:
photo = PhotoPostSerializers(data=request.data)
# Сохраняем фотографии
if photo.is_valid():
photo.save(image=img)