#16289: Make FormSet and related classes declarable -------------------------+---------------------------- Reporter: bpeschier | Owner: nobody Type: New feature | Status: new Milestone: | Component: Forms Version: SVN | Severity: Normal Keywords: | Triage Stage: Unreviewed Has patch: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------+---------------------------- !FormSets are now created with factories, but similar to !ModelForm, it is entirely possible to declare a custom F!ormSet; the only thing missing are the defaults on the base classes in the code.
The idea is that you should be able to do: {{{ class MyFormSet(formsets.FormSet): can_delete = True form = MyForm extra = 3 }}} This is similar how we now teach people how to use !ModelForms and opens up possibilities to override/extend behaviour. -- Ticket URL: <https://code.djangoproject.com/ticket/16289> 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.