forms.py
class ImportExcelForm(Form):
file = forms.FileField(attrs={'class':'rounded_list',})
I am trying to add css class to my filefield
in forms.I am getting this error "__init__() got an unexpected keyword argument 'attrs'"
What i did wrong.
Thanks