Opened 7 years ago

Closed 7 years ago

Last modified 7 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, 7 years ago

Has patch: set

comment:2 by Tim Graham <timograham@…>, 7 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@…>, 7 years ago

In 6421bd70:

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

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

In 281c022:

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

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