Ticket #7654: upload_handling.txt.patch
File upload_handling.txt.patch, 691 bytes (added by , 16 years ago) |
---|
-
docs/upload_handling.txt
239 239 You can only modify upload handlers *before* accessing ``request.FILES`` -- 240 240 it doesn't make sense to change upload handlers after upload handling has 241 241 already started. If you try to modify ``request.upload_handlers`` after 242 reading from ``request. FILES`` Django will throw an error.242 reading from ``request.POST`` or ``request.FILES`` Django will throw an error. 243 243 244 244 Thus, you should always modify uploading handlers as early in your view as 245 245 possible.