Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#29227 closed Cleanup/optimization (fixed)

Allow BooleanField to be null=True

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

Description

This will remove the wart of NullBooleanField and help solve other issues like #23130.

Change History (4)

comment:1 by Tim Graham, 6 years ago

Has patch: set

comment:2 by Tim Graham <timograham@…>, 6 years ago

Resolution: fixed
Status: assignedclosed

In 5fa4f40f:

Fixed #29227 -- Allowed BooleanField to be null=True.

Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review.

comment:3 by Tim Graham <timograham@…>, 6 years ago

In 6421bd70:

Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than NullBooleanField.

comment:4 by Tim Graham <timograham@…>, 6 years ago

In 281c022:

Refs #29227 -- Simplified NullBooleanField by making it subclass BooleanField.

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