From 16cf24393f36e188abd62f242ab88ae23536f0d1 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 6 Aug 2007 14:17:10 +0000 Subject: [PATCH] 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 --- docs/newforms.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/newforms.txt b/docs/newforms.txt index 5d1da96128..4f63411875 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -713,6 +713,8 @@ For example:: Binding uploaded files to a form -------------------------------- +**New in Django development version** + Dealing with forms that have ``FileField`` and ``ImageField`` fields is a little more complicated than a normal form. @@ -1143,6 +1145,8 @@ given length. ``FileField`` ~~~~~~~~~~~~~ +**New in Django development version** + * Default widget: ``FileInput`` * Empty value: ``None`` * 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`` ~~~~~~~~~~~~~~ +**New in Django development version** + * Default widget: ``FileInput`` * Empty value: ``None`` * Normalizes to: An ``UploadedFile`` object that wraps the file content