Ah, found it on the django read the docs site. This is what I did in my inline formset factory
BookFormset = inlineformset_factory(Author, Book, extra=3, max_num=3, widgets={'name': forms.TextInput(attrs={'class':'u-full-width'})}) On Tuesday, December 16, 2014 8:34:25 AM UTC-5, Brad Rice wrote: > > When I do a model form I can control the fields with attributes using > > name = > forms.CharField(widget=forms.TextInput(attrs={'class':'u-full-width'})) > > How do I do something like that in an inline formset? I don't see where I > can set attributes. > -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/78efe089-edd2-44f5-9da3-563af3cd1eba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.