From 5d9983d08430ef3e2ad69771f58a446cfe452483 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Sun, 24 May 2009 06:46:02 +0000 Subject: [PATCH] Fixed #8857 -- Corrected ref in modelforms documentation and added ref to file upload documentation in form documentation. Thanks Kyle Fox and prairiedogg. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10837 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 e873a25d6c..0de5a6b8cb 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 8730bc48ba..370ac887b7 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 ------------------------------------