Code

Changes between Version 267 and Version 268 of BackwardsIncompatibleChanges


Ignore:
Timestamp:
04/28/09 06:16:02 (5 years ago)
Author:
Alex
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BackwardsIncompatibleChanges

    v267 v268  
    11471147 * Support for representing files as strings was removed. Use `django.core.files.base.ContentFile` instead. 
    11481148 * Support for representing uploaded files as dictionaries was removed. Use `django.core.files.uploadedfile.SimpleUploadedFile` instead. 
    1149  * The `filename`, `file_name`, `file_size`, and `chuck` properties of `UploadedFile` were removed. Use the `name`, `name`, `size`, and `chunks` properties instead, respectively. 
     1149 * The `filename`, `file_name`, `file_size`, and `chunk` properties of `UploadedFile` were removed. Use the `name`, `name`, `size`, and `chunks` properties instead, respectively. 
    11501150 * The `get_FIELD_filename`, `get_FIELD_url`, `get_FIELD_size`, and `save_FIELD_file` methods for Models with `FileField` fields were removed. Instead, use the `path`, `url`, and `size` attributes and `save` method on the field itself, respectively. 
    11511151 * The `get_FIELD_width` and `get_FIELD_height` methods for Models with `ImageField` fields were removed. Use the `width` and `height` attributes on the field itself instead.