From 82f9f74821c6ab13f02bed16eb1c2490120e83b9 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Sun, 24 May 2009 06:48:43 +0000 Subject: [PATCH] [1.0.X] Fixed #8857 -- Corrected ref in modelforms documentation and added ref to file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg. Backport of [10837] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10838 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/forms/index.txt | 6 ++++++ docs/topics/forms/modelforms.txt | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/topics/forms/index.txt b/docs/topics/forms/index.txt index 3e8ef367d5394..cc4827d1b8e12 100644 --- a/docs/topics/forms/index.txt +++ b/docs/topics/forms/index.txt @@ -128,6 +128,12 @@ they went wrong. See :ref:`ref-forms-api-bound-unbound` for further information on the differences between bound and unbound forms. +Handling file uploads with a form +--------------------------------- + +To see how to handle file uploads with your form see +:ref:`binding-uploaded-files` for more information. + Processing the data from a form ------------------------------- diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index 7e86f166117a5..9f0967c510f75 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -271,7 +271,7 @@ exactly the same way as any other ``forms`` form. For example, the ``is_valid()`` method is used to check for validity, the ``is_multipart()`` method is used to determine whether a form requires multipart file upload (and hence whether ``request.FILES`` must be passed to the form), etc. See -:ref:`topics-forms-index` for more information. +:ref:`binding-uploaded-files` for more information. Using a subset of fields on the form ------------------------------------