Creating nested forms in Django Admin
I recently came across the need to let admins create/edit specific objects from Django admin with an inline formset (nested forms).
In Rails, this can be accomplished by simply doing this.
accepts_nested_attributes_for :model Things are a little bit different in Django. As opposed to Rails, Django provides an admin interface by default but getting the same to work in a nested way isn’t very obvious.
class Provider(models.Model): name = models.CharField(max_length=100) slug = models.