Open GoogleCodeExporter opened 9 years ago
A solution (well quick fix) after reading the doc :
http://docs.djangoproject.com/en/dev/topics/http/file-uploads/
"
Note
You can only modify upload handlers before accessing request.POST or
request.FILES -- it doesn't make sense to change upload handlers after upload
handling has already started. If you try to modify request.upload_handlers
after reading from request.POST or request.FILES Django will throw an error.
Thus, you should always modify uploading handlers as early in your view as
possible.
"
Original comment by alph...@gmail.com
on 17 Jun 2010 at 5:02
Attachments:
Original issue reported on code.google.com by
alph...@gmail.com
on 17 Jun 2010 at 4:53