Added note that FileField and ImageField are only in development version. There are also some minor backwards compatibility issues with the changes introduced in [5819] - see the wiki for details.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2007-08-06 14:17:10 +00:00
parent fbd1a6277e
commit 16cf24393f
1 changed files with 6 additions and 0 deletions

View File

@ -713,6 +713,8 @@ For example::
Binding uploaded files to a form Binding uploaded files to a form
-------------------------------- --------------------------------
**New in Django development version**
Dealing with forms that have ``FileField`` and ``ImageField`` fields Dealing with forms that have ``FileField`` and ``ImageField`` fields
is a little more complicated than a normal form. is a little more complicated than a normal form.
@ -1143,6 +1145,8 @@ given length.
``FileField`` ``FileField``
~~~~~~~~~~~~~ ~~~~~~~~~~~~~
**New in Django development version**
* Default widget: ``FileInput`` * Default widget: ``FileInput``
* Empty value: ``None`` * Empty value: ``None``
* Normalizes to: An ``UploadedFile`` object that wraps the file content * Normalizes to: An ``UploadedFile`` object that wraps the file content
@ -1170,6 +1174,8 @@ When you use a ``FileField`` on a form, you must also remember to
``ImageField`` ``ImageField``
~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
**New in Django development version**
* Default widget: ``FileInput`` * Default widget: ``FileInput``
* Empty value: ``None`` * Empty value: ``None``
* Normalizes to: An ``UploadedFile`` object that wraps the file content * Normalizes to: An ``UploadedFile`` object that wraps the file content