Closes #2836: Deprecate NullableCharField

This commit is contained in:
Jeremy Stretch
2019-02-14 09:39:04 -05:00
parent d95b127378
commit fdbef8ee71
3 changed files with 46 additions and 6 deletions

View File

@@ -10,6 +10,8 @@ ColorValidator = RegexValidator(
)
# Deprecated: Retained only to ensure successful migration from early releases
# Use models.CharField(null=True) instead
class NullableCharField(models.CharField):
description = "Stores empty values as NULL rather than ''"