def __init__(self, *args, **kwargs):
    super(ProductForm, self).__init__(*args, **kwargs)
self.fields['short_desc'].widget.attrs['style'] = 'width:400px; height:40px;'
self.fields['long_desc'].widget.attrs['style'] = 'width:800px; height:80px;'
Change the width of form elements created with ModelForm in Django