Changes between Version 267 and Version 268 of BackwardsIncompatibleChanges
- Timestamp:
- Apr 28, 2009, 8:16:02 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackwardsIncompatibleChanges
v267 v268 1147 1147 * Support for representing files as strings was removed. Use `django.core.files.base.ContentFile` instead. 1148 1148 * Support for representing uploaded files as dictionaries was removed. Use `django.core.files.uploadedfile.SimpleUploadedFile` instead. 1149 * The `filename`, `file_name`, `file_size`, and `chu ck` 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. 1150 1150 * 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. 1151 1151 * 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.