diff options
| author | Loic Bistuer <loic.bistuer@sixmedia.com> | 2013-10-14 22:42:33 +0700 |
|---|---|---|
| committer | Loic Bistuer <loic.bistuer@sixmedia.com> | 2013-10-14 22:42:33 +0700 |
| commit | b16dd1fe019b38d0dcdf4a400e9377fb06b33178 (patch) | |
| tree | 2c2a2da6a25b531bf7f3894938a77565a9a7250d /docs/ref | |
| parent | ac5ec7b8bcc5623cc05d4df900c39e194f5affcf (diff) | |
Fixed #8620 -- Updated the Form metaclass to support excluding fields by shadowing them.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/forms/api.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 14092512dc..c15f748308 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -854,6 +854,13 @@ classes:: <li>Instrument: <input type="text" name="instrument" /></li> <li>Haircut type: <input type="text" name="haircut_type" /></li> +.. versionadded:: 1.7 + +* It's possible to opt-out from a ``Field`` inherited from a parent class by + shadowing it. While any non-``Field`` value works for this purpose, it's + recommended to use ``None`` to make it explicit that a field is being + nullified. + .. _form-prefix: Prefixes for forms |
