Changes between Version 177 and Version 178 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
Jul 2, 2008, 3:14:59 AM (16 years ago)
Author:
anonymous
Comment:

Uploadded to uploaded

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v177 v178  
    652652== Uploaded file changes ==
    653653
    654 [7814] introduced changes to the way Django handles uploadded files. Most of the changes are in the form of added flexibility and performance (for details, see the [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]).
    655 
    656 However, as part of the change, the representation of uploaded files has changed. Previous, uploadded files -- that is, entries in {{{request.FILES}}} -- were represented by simple dictionaries with a few well-known keys. Uploaded files are now represented by an [http://www.djangoproject.com/documentation/upload_handling/#uploaded-file-objects UploadedFile object], and thus the file's information is accessible through object attributes. Thus, given {{{f = request.FILES['some_field_name']}}}:
     654[7814] introduced changes to the way Django handles uploaded files. Most of the changes are in the form of added flexibility and performance (for details, see the [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]).
     655
     656However, as part of the change, the representation of uploaded files has changed. Previous, uploaded files -- that is, entries in {{{request.FILES}}} -- were represented by simple dictionaries with a few well-known keys. Uploaded files are now represented by an [http://www.djangoproject.com/documentation/upload_handling/#uploaded-file-objects UploadedFile object], and thus the file's information is accessible through object attributes. Thus, given {{{f = request.FILES['some_field_name']}}}:
    657657
    658658|| '''Old'''                            || '''New'''                    ||
Back to Top