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
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:
>
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():
3 matches
Mail list logo