0

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.

1 Answer 1

1

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.

1
  • great - it works another way than i expected, but works fine. thanks!
    – schneck
    Sep 25, 2009 at 14:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.