#18166: Allow the formset class to contribute kwargs to form instances -------------------------------------+------------------------------------- Reporter: tevans | Owner: sergei- | maertens Type: New feature | Status: closed Component: Forms | Version: master Severity: Normal | Resolution: fixed Keywords: forms formset | Triage Stage: Accepted kwargs | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Sergei Maertens <sergei@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"238e2ac3690755d0e6c2dfca815e2b6f84a47f6e" 238e2ac3]: {{{ #!CommitTicketReference repository="" revision="238e2ac3690755d0e6c2dfca815e2b6f84a47f6e" Fixed #18166 -- Added form_kwargs support to formsets. By specifying form_kwargs when instantiating the formset, or overriding the `get_form_kwargs` method on a formset class, you can pass extra keyword arguments to the underlying `Form` instances. Includes tests and documentation update. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/18166#comment:11> 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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.4bce00ec1cc6d8235965fa55e7a25a5d%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.