With django.contrib.admin you can easilly do that with ModelAdmin and
StackedInline, or other inline, classes.
But not with Class-based generic views like CreateView and UpdateView.
In this case, if I understand it correctly, you need to override
get_context_data() and form_valid() to manage the InlineFormSet.
It would be nice if we have a more easy way to do it. Something similar to
what we have in ModelAdmin ?
--
Ticket URL: <https://code.djangoproject.com/ticket/34689>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => duplicate
Comment:
Duplicate of #16256.
--
Ticket URL: <https://code.djangoproject.com/ticket/34689#comment:1>
Comment (by CyberFox001):
Replying to [comment:1 Mariusz Felisiak]:
> Duplicate of #16256.
This ticket is closed and have no more activity since 8 years.
Is this feature a "No and never" ?
--
Ticket URL: <https://code.djangoproject.com/ticket/34689#comment:2>
Comment (by Mariusz Felisiak):
Replying to [comment:2 CyberFox001]:
> Is this feature a "No and never" ?
IMO, yes, however you can
[https://docs.djangoproject.com/en/stable/internals/contributing/triaging-
tickets/#closing-tickets follow triaging guidelines with regards to
wontfix tickets] and take this to the mailing list or the Django Forum.
--
Ticket URL: <https://code.djangoproject.com/ticket/34689#comment:3>