From 2e6b0c5ca7265b3cee2ff68a9ef5d1865afb9a49 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 23 Jan 2013 04:42:34 -0500 Subject: [1.5.x] Fixed #19610 - Added enctype note to forms topics doc. Thanks will@ for the suggestion. Backport of 0de2645c00 from master --- docs/ref/forms/api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/ref/forms') diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 4aacbf0a0d..d1f877ff65 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -716,6 +716,8 @@ form data *and* file data:: Testing for multipart forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. method:: Form.is_multipart + If you're writing reusable views or templates, you may not know ahead of time whether your form is a multipart form or not. The ``is_multipart()`` method tells you whether the form requires multipart encoding for submission:: -- cgit v1.3