#10403: provide declarative syntax to define FormSets - including ModelFormSet and InlineFormSet -------------------------------------+------------------------------------- Reporter: Koen Biermans | Owner: nobody <koen.biermans@…> | Status: new Type: New feature | Version: master Component: Forms | Resolution: Severity: Normal | Triage Stage: Design Keywords: formset | decision needed modelformset inlineformset | Needs documentation: 1 Has patch: 1 | Patch needs improvement: 1 Needs tests: 1 | UI/UX: 0 Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by rasca): Adding a comment from #16289: > This would be very useful for a nicer implementation of the formset derived cbv #16256. > > The BaseInlineFormSet? is the only tricky one with the _get_foreign_key() and the max_num override when fk.unique=True . > > I'd also move the defaults (e.g. extra=3) to the BaseFormSet? and make the factories only pass dict keys whose value isn't None to type(). -- Ticket URL: <https://code.djangoproject.com/ticket/10403#comment:5> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.