mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #31369 -- Improved hint message in NullBooleanField's deprecation warning.
This commit is contained in:
@@ -59,7 +59,7 @@ class DeprecatedFieldsTests(SimpleTestCase):
|
||||
checks.Error(
|
||||
"NullBooleanField is removed except for support in historical "
|
||||
"migrations.",
|
||||
hint="Use BooleanField(null=True) instead.",
|
||||
hint="Use BooleanField(null=True, blank=True) instead.",
|
||||
obj=NullBooleanFieldModel._meta.get_field("nb"),
|
||||
id="fields.E903",
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user