summaryrefslogtreecommitdiff
path: root/tests/invalid_models_tests
diff options
context:
space:
mode:
authorPaul Brown <paul90brown@gmail.com>2023-05-02 18:42:11 +0000
committerGitHub <noreply@github.com>2023-05-02 15:42:11 -0300
commit3b62d8c83e3e48d2ed61cfa32a61c56d9e030293 (patch)
tree0c851494976d2296690c265f70e5a6b51522273f /tests/invalid_models_tests
parent506f93f0c37ed9c44069edeab8baa66da5f7e03a (diff)
downloaddjango-3b62d8c83e3e48d2ed61cfa32a61c56d9e030293.tar.gz
Refs #31369 -- Improved hint message in NullBooleanField's deprecation warning.
Diffstat (limited to 'tests/invalid_models_tests')
-rw-r--r--tests/invalid_models_tests/test_deprecated_fields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/invalid_models_tests/test_deprecated_fields.py b/tests/invalid_models_tests/test_deprecated_fields.py
index 7b1e3fb7ac..429e15febc 100644
--- a/tests/invalid_models_tests/test_deprecated_fields.py
+++ b/tests/invalid_models_tests/test_deprecated_fields.py
@@ -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",
),