Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJonathan Wadsworth
20,196 PointsSpecifying fields on an inlineformset
@6:38 in the inline formset video, you said that it's weird that you have to specify fields for a formset. I found that if you specify form=AnswerForm,
you can get the same result, but you specify the fields in the form you want instead of the inlineformset_factory()
params.
Let me know if there's something wrong with this approach. But it seems to be working for me (all the way back to Django 1.5!)