Deprecate NullableCharField #2332

Closed
opened 2025-12-29 17:24:55 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jan 31, 2019).

Proposed Changes

Replace instances of NullableCharField with models.CharField(null=True).

Justification

As of Django 1.11, the built-in CharField now support saving null values. Previously, empty values were stored as empty strings. This interfered with uniqueness checks.

Originally created by @jeremystretch on GitHub (Jan 31, 2019). ### Proposed Changes Replace instances of NullableCharField with `models.CharField(null=True)`. ### Justification As of Django 1.11, the built-in CharField now support saving null values. Previously, empty values were stored as empty strings. This interfered with uniqueness checks.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 17:24:55 +01:00
adam closed this issue 2025-12-29 17:24:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2332