Hello everyone,

I am trying to personalize my select fields in a django modelform, however 
the changes are not reflected when I try to render the field. Anyone else 
ever had this problem?

        self.fields["prodotti_var"].widget.attrs.update({"class" : 
"form-control 
m-bootstrap-select m_selectpicker", "data-live-search" : "true"})


Can you help me?






-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/46314697-049b-404e-b48d-6bdfac6595f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to