mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #31721 -- Allowed ModelForm meta to specify form fields.
This commit is contained in:
committed by
Mariusz Felisiak
parent
88e67a54b7
commit
e03cdf76e7
@@ -151,7 +151,11 @@ File Uploads
|
||||
Forms
|
||||
~~~~~
|
||||
|
||||
* ...
|
||||
* :class:`~django.forms.ModelForm` now accepts the new ``Meta`` option
|
||||
``formfield_callback`` to customize form fields.
|
||||
|
||||
* :func:`~django.forms.models.modelform_factory` now respects the
|
||||
``formfield_callback`` attribute of the ``form``’s ``Meta``.
|
||||
|
||||
Generic Views
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user