def __init__(self, *args, **kwargs):
    super(ProductForm, self).__init__(*args, **kwargs)
self.fields['long_desc'].widget.attrs['cols'] = 10
self.fields['long_desc'].widget.attrs['rows'] = 20
Change the width of form elements created with ModelForm in Django