hi, latest trunk: code:
class Directoryform(ModelForm): def __init__(self,*args,**kwargs): super(Directoryform, self).__init__(*args, **kwargs) self.fields['address']=forms.CharField( widget=forms.Textarea(attrs={'rows':'3','cols':'40'}),max_length=500) self.fields['phone']=forms.CharField( widget=forms.Textarea(attrs={'rows':'2','cols':'40'}),max_length=100) self.fields['remarks']=forms.CharField( widget=forms.Textarea(attrs={'rows':'8','cols':'60'}),max_length=1500) class Meta: model = Directory exclude = ('pubdate','author','approved') here the nax_length parameter is working, but rows and cols in textarea are not - only the default size is being shown. Even unquoting the numbers does not help. What could be wrong? -- regards kg http://lawgon.livejournal.com --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---