AW: form has not attribute cleaned_data

2011-03-28 Thread Szabo, Patrick (LNG-VIE)
Fax: +43 (1) 534 52 - 146 -Ursprüngliche Nachricht- Von: django-users@googlegroups.com [mailto:django-users@googlegroups.com] Im Auftrag von luca72 Gesendet: Montag, 28. März 2011 15:05 An: Django users Betreff: form has not attribute cleaned_data hello i have a form like this: class Form_new

Re: form has not attribute cleaned_data

2011-03-28 Thread Daniel Roseman
On Monday, March 28, 2011 2:04:53 PM UTC+1, luca72 wrote: > > hello i have a form like this: > class Form_news(forms.Form): > messgg = forms.CharField(label = 'Messaggio',max_length=1, > widget=forms.Textarea) > > and in the views i do as follow: > if request.user.is_superuser: >

form has not attribute cleaned_data

2011-03-28 Thread luca72
hello i have a form like this: class Form_news(forms.Form): messgg = forms.CharField(label = 'Messaggio',max_length=1, widget=forms.Textarea) and in the views i do as follow: if request.user.is_superuser: if request.method == 'POST': if form.is_valid():