On 03/07/2014 04:54, Peter Romfeld wrote:
I am stuck at a simple image upload function, in django i just used:
for feature phones:
file = request.body
iOS with Form:
image = forms.FileField()
What is forms? image is defined at the class level, not the instance
level, did you actually mean that?
form = ImageForm(request.POST, request.FILES)
file = request.FILES['image'].read()
file has been overwritten.
with falcon i tried but not working;
req is undefined here.
So please give us your OS and Python versions, the exact code that
you've tried to run, how you've tried to run it, what you expected to
happen and what actually happened including the complete traceback if any.
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
This email is free from viruses and malware because avast! Antivirus protection