mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #8620 -- Updated the Form metaclass to support excluding fields by shadowing them.
This commit is contained in:
@@ -293,6 +293,9 @@ Forms
|
||||
inheriting from both ``Form`` and ``ModelForm`` simultaneously have been
|
||||
removed as long as ``ModelForm`` appears first in the MRO.
|
||||
|
||||
* It's now possible to opt-out from a ``Form`` field declared in a parent class
|
||||
by shadowing it with a non-``Field`` value.
|
||||
|
||||
Internationalization
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user