5648283
1
2
3
4
5
6
def handle_uploaded_file(f): with open('media/'+f.name, 'wb+') as destination: for chunk in f.chunks(): # print(chunk) destination.write(chunk)