#17577: Form instantiation hook for admin -------------------------------------+------------------------------------- Reporter: simon29 | Owner: simon29 Type: New feature | Status: new Component: contrib.admin | Version: 1.3 Severity: Normal | Resolution: Keywords: admin forms | Triage Stage: Accepted modelforms request init add_view | Needs documentation: 1 change_view validation | Patch needs improvement: 0 Has patch: 0 | UI/UX: 0 Needs tests: 1 | Easy pickings: 0 | -------------------------------------+------------------------------------- Changes (by julien):
* needs_docs: => 1 * needs_better_patch: => 0 * needs_tests: => 1 * stage: Unreviewed => Accepted Comment: Accepting in principle as it'd be nice to allow the customization of how forms get instantiated. However, the API needs more work, in particular to accommodate for the fact that the form may get instantiated in various ways (e.g. `ModelForm(request.POST, request.FILES)` or `ModelForm(initial=initial)` in `add_view()`). It would be useful also to see how the same thing could be done for inline forms. -- Ticket URL: <https://code.djangoproject.com/ticket/17577#comment:1> 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.