I'm having trouble getting the form to display both the formset fields and the regular form fields. Currently, the template is only displaying the formset fields.
I think I've narrowed it down to something I didn't do right in either the custom_layout_object.py or the formset.html.
I know that's vague, but any advice/tips on what I might need to change from your example to work with my project?
I figured out both the problems I was having! The first one (above) I had improperly configured the self.helper.layout div so it didn't know what to display! Everything seems to be working now in terms of the basic setup.
I was wondering though if you could advise me on how to make the form look better? I've messed with the formset.html but can't seem to figure out where to put formatting to make it look nice.
This is what my form currently looks like:
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm having trouble getting the form to display both the formset fields and the regular form fields. Currently, the template is only displaying the formset fields.
I think I've narrowed it down to something I didn't do right in either the custom_layout_object.py or the formset.html.
I know that's vague, but any advice/tips on what I might need to change from your example to work with my project?
I figured out both the problems I was having! The first one (above) I had improperly configured the self.helper.layout div so it didn't know what to display! Everything seems to be working now in terms of the basic setup.
I was wondering though if you could advise me on how to make the form look better? I've messed with the formset.html but can't seem to figure out where to put formatting to make it look nice.
This is what my form currently looks like: