Author: ubernostrum
Date: 2008-08-31 05:23:36 -0500 (Sun, 31 Aug 2008)
New Revision: 8758

Modified:
   django/trunk/docs/topics/http/file-uploads.txt
Log:
Fixed #7654: Documented the fact that file upload handlers must be modified 
before reading request.POST


Modified: django/trunk/docs/topics/http/file-uploads.txt
===================================================================
--- django/trunk/docs/topics/http/file-uploads.txt      2008-08-31 10:13:32 UTC 
(rev 8757)
+++ django/trunk/docs/topics/http/file-uploads.txt      2008-08-31 10:23:36 UTC 
(rev 8758)
@@ -254,10 +254,12 @@
 
 .. note::
 
-    You can only modify upload handlers *before* accessing ``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.FILES`` Django will throw an error.
+    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.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to