| 1126 | |
| 1127 | == Removed several more deprecated features for 1.0 == |
| 1128 | |
| 1129 | In [8291], several deprecated features were removed: |
| 1130 | * Support for representing files as strings was removed. Use `django.core.files.base.ContentFile` instead. |
| 1131 | * Support for representing uploaded files as dictionaries was removed. Use `django.core.files.uploadedfile.SimpleUploadedFile` instead. |
| 1132 | * The `filename`, `file_name`, `file_size`, and `chuck` properties of `UploadedFile` were removed. Use the `name`, `name`, `size`, and `chunks` properties instead, respectively. |
| 1133 | * 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. |
| 1134 | * 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. |
| 1135 | * The dispatcher `connect`, `disconnect`, `send`, and `sendExact` functions were removed. Use the signal object's own `connect`, `disconnect`, `send`, and `send` methods instead, respectively. |
| 1136 | * The `form_for_model` and `form_for_instance` functions were removed. Use a `ModelForm` subclass instead. |
| 1137 | * Support for importing `django.newforms` was removed. Use `django.forms` instead. |
| 1138 | * Support for importing `django.utils.images` was removed. Use `django.core.files.images` instead. |
| 1139 | * Support for the `follow` argument in the `create_object` and `update_object` generic views was removed. Use the `django.forms` package and the new `form_class` argument instead. |