#16256: More class based views: formsets derived generic views
---------------------------------------+-------------------------------
Reporter: rasca | Owner: rasca
Type: New feature | Status: new
Milestone: 1.4 | Component: Generic views
Version: 1.3 | Severity: Normal
Resolution: | Keywords:
Triage Stage: Accepted | Has patch: 1
Needs documentation: 1 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+-------------------------------
Comment (by rasca):
Replying to [comment:8 AndrewIngram]:
> With regards to handling multiple formsets in one view, I'd treat that
as a separate problem. Ideally you'd want a single view that can handle
forms *and* formsets. I've already attempted this (you can see it in the
github repo mentioned in #16215, it's called MultiFormView)
Yeah.. my main goal was to replicate the admin's inlines. We could create
another ticket for the 'MutiFormView'...
> but I struggled with creating a decent API that made it easy to
instantiate forms and formsets that have custom init arguments and so on.
What do you think about what I came up with?
--
Ticket URL: <https://code.djangoproject.com/ticket/16256#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.