Ticket #7654: upload_handling.txt.patch

File upload_handling.txt.patch, 691 bytes (added by Rozza, 10 years ago)

Small documentation patch

  • docs/upload_handling.txt

    239239    You can only modify upload handlers *before* accessing ``request.FILES`` --
    240240    it doesn't make sense to change upload handlers after upload handling has
    241241    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.
    244244    Thus, you should always modify uploading handlers as early in your view as
    245245    possible.
Back to Top