I wounder, because in the Docu i find TextField unter field types list:
http://www.djangoproject.com/documentation/newforms/#field-types
my code:
--------------------------------------------------------------------------
from django import newforms as forms
class MailForm(forms.Form):
...
mail_text = forms.TextField()
...
--------------------------------------------------------------------------
This works:
mail_text = forms.CharField(widget=forms.Textarea)
Note: I used the unicode-branch.
--
Mfg.
Jens Diemer
----
A django powered CMS: http://www.pylucid.org
That's by design. Whether to show an input type="text" or a textarea
is a matter of widgets, so you differentiate between them by using
different widgets.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
Thanks for the info ;)