Hi there,
Django has the StackedInline-Feature for the Admin-Backend - is there any equivalent for django.forms? When i define a ForeignField representing a ManyToOne-Relation, it does not show up in generated forms.
Hi there,
Django has the StackedInline-Feature for the Admin-Backend - is there any equivalent for django.forms? When i define a ForeignField representing a ManyToOne-Relation, it does not show up in generated forms.
The admin is built exclusively using Django's forms module, so if it's possible in the admin, it's possible outside.
In this case you want inline formsets. See the documentation here.