mirror of https://github.com/django/django.git
ef48a3e69c
* Support for representing files as strings was removed. Use `django.core.files.base.ContentFile` instead. * Support for representing uploaded files as dictionaries was removed. Use `django.core.files.uploadedfile.SimpleUploadedFile` instead. * The `filename`, `file_name`, `file_size`, and `chuck` properties of `UploadedFile` were removed. Use the `name`, `name`, `size`, and `chunks` properties instead, respectively. * 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. * 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. * The dispatcher `connect`, `disconnect`, `send`, and `sendExact` functions were removed. Use the signal object's own `connect`, `disconnect`, `send`, and `send` methods instead, respectively. * The `form_for_model` and `form_for_instance` functions were removed. Use a `ModelForm` subclass instead. * Support for importing `django.newforms` was removed. Use `django.forms` instead. * Support for importing `django.utils.images` was removed. Use `django.core.files.images` instead. * 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. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8291 bcc190cf-cafb-0310-a4f2-bffc1f526a37 |
||
---|---|---|
.. | ||
basic | ||
choices | ||
custom_columns | ||
custom_managers | ||
custom_methods | ||
custom_pk | ||
delete | ||
empty | ||
field_defaults | ||
field_subclassing | ||
files | ||
fixtures | ||
force_insert_update | ||
generic_relations | ||
get_latest | ||
get_object_or_404 | ||
get_or_create | ||
invalid_models | ||
lookup | ||
m2m_and_m2o | ||
m2m_intermediary | ||
m2m_multiple | ||
m2m_recursive | ||
m2m_through | ||
m2o_recursive | ||
m2o_recursive2 | ||
manipulators | ||
many_to_many | ||
many_to_one | ||
many_to_one_null | ||
model_forms | ||
model_formsets | ||
model_inheritance | ||
mutually_referential | ||
one_to_one | ||
or_lookups | ||
order_with_respect_to | ||
ordering | ||
pagination | ||
properties | ||
reserved_names | ||
reverse_lookup | ||
save_delete_hooks | ||
select_related | ||
serializers | ||
signals | ||
str | ||
test_client | ||
transactions | ||
update | ||
user_commands | ||
validation | ||
__init__.py |