#26607: Add a hook to customize the admin's formsets parameters -------------------------------------+------------------------------------- Reporter: David Sanders | Owner: nobody Type: New feature | Status: new Component: contrib.admin | Version: master Severity: Normal | Resolution: Keywords: admin inline | Triage Stage: Accepted formset initial | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham): I think we should add a more general customization hook that allows customizing the parameters passed to the [https://github.com/django/django/blob/92323d54fd6df077dc523c423c7bb2dd8dbde621/django/contrib/admin/options.py#L1821 formset initialization] (which includes initial data). That could also allow the use case of #27240 which requires adding `form_kwargs': {'request': request}` to `formset_params`. -- Ticket URL: <https://code.djangoproject.com/ticket/26607#comment:3> 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/068.d56ce4eb287d0d51eab31e48af28e2fd%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.