Add CLASS attribute in Option of select widget django

1

I'm using widget=forms.Select() in a forms.Form of Django, however, when trying to add a CLASS attribute in Options, which is part of Select, I can not, just in Select itself, I've been looking for and only found Override options of the Django code, I believe I have something simpler in Django, an option that went unnoticed ...

    
asked by anonymous 06.10.2016 / 16:51

0 answers