I have to say, I discovered my own problem, as usually happens
directly after I make a post for help.

The documentation has listed:

Model Field                Forms Field
TextField                        CharField with widget=Textarea

I tried that to no avail. Eventually I found a snippet of code with
google where someone had specified widget=forms.Textarea, which worked
fine.

My apologies.

On Sep 1, 9:48 pm, Jesse <[EMAIL PROTECTED]> wrote:
> I'm terribly new and inexperienced, and after 30-40 minutes of
> googling I cannot find anything to help my problem:
>
> class roomForm(forms.Form):
>         authorName = forms.CharField(max_length = "30")
>         authorWebsite = forms.CharField(max_length = "50")
>         title = forms.CharField(max_length = "30")
>         content = forms.TextField()
>
> That forms.TextField() is getting me an error. I saw and tried various
> other things, which were probably legacy stuff, like
> TextField(widget=TextArea) or something to that effect.
>
> Anyhow, I appreciate any help.
>
> Also, is this somewhere in the documentation? I couldn't find it.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to