Opened 3 months ago

Last modified 3 months ago

#35748 closed Cleanup/optimization

Document that Field.formfield() may return None — at Initial Version

Reported by: Adam Johnson Owned by:
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The current documentation only states that a form field should be returned. None is also an allowed return value, as used by AutoFieldMixin, used to ignore the field when constructing the model form.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top