I would like to use the newforms.TextField() to make a html textarea. But i get
the error:
'module' object has no attribute 'TextField'
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---