Re: error with forms

2010-04-24 Thread Daniel Roseman
On Apr 17, 1:14 am, JoJo wrote: > Hi all, i have an error here im not sure what it means can anyone help > me > > here is my models.py file## > class AddStuffForm(forms.Form): > >         title = forms.CharField(max_length=100) >         body = forms.CharField(widget = forms.Textarea()) > >      

Re: error with forms

2010-04-23 Thread Mike
I'm not completely sure, but it looks as though your variable 'body': body = forms.CharField(widget = forms.Textarea()) should be: body = forms.CharField(widget=forms.Textarea) with next area not as a function. http://docs.djangoproject.com/en/dev/ref/forms/widgets/#django.forms.Form.widget On

error with forms

2010-04-16 Thread JoJo
Hi all, i have an error here im not sure what it means can anyone help me here is my models.py file## class AddStuffForm(forms.Form): title = forms.CharField(max_length=100) body = forms.CharField(widget = forms.Textarea()) def save(self): new_gossip = Gossip