web/views/formrenderers.py
changeset 4164 119a374c5eb4
parent 4156 1bbb0ee42c8e
child 4181 c79135c217df
--- a/web/views/formrenderers.py	Mon Dec 21 20:18:53 2009 +0100
+++ b/web/views/formrenderers.py	Mon Dec 21 20:21:56 2009 +0100
@@ -146,7 +146,7 @@
         return u''
 
     def open_form(self, form, values):
-        if form.form_needs_multipart:
+        if form.needs_multipart:
             enctype = 'multipart/form-data'
         else:
             enctype = 'application/x-www-form-urlencoded'