#35748: Document that Field.formfield() may return None
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Clifford
Type: | Gama
Cleanup/optimization | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):
* resolution: => fixed
* status: assigned => closed
Comment:
In [changeset:"e1d226bc1c52a0165164e5b34fef1d336050ca60" e1d226bc]:
{{{#!CommitTicketReference repository=""
revision="e1d226bc1c52a0165164e5b34fef1d336050ca60"
Fixed #35748 -- Documented that fields are excluded from a ModelForm when
formfield() returns None.
Co-authored-by: Sarah Boyce <
42296566+...@users.noreply.github.com>
}}}
--
Ticket URL: <
https://code.djangoproject.com/ticket/35748#comment:7>