summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/fields/array.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2025-01-03 10:30:59 -0500
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-01-03 17:10:24 +0100
commita4d3f2535ec1f490c26ecf6c24b95105cd888dd9 (patch)
tree2c85ebd3ea8409e928ab260dfdfd59256b2d5775 /django/contrib/postgres/fields/array.py
parenta8e4fd11efc65832e7d9f5582d3868c5c8bd8d88 (diff)
Removed stray comment in ArrayField.check().
Diffstat (limited to 'django/contrib/postgres/fields/array.py')
-rw-r--r--django/contrib/postgres/fields/array.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/contrib/postgres/fields/array.py b/django/contrib/postgres/fields/array.py
index a7e40703a3..28c0f6679e 100644
--- a/django/contrib/postgres/fields/array.py
+++ b/django/contrib/postgres/fields/array.py
@@ -67,7 +67,6 @@ class ArrayField(CheckFieldDefaultMixin, Field):
)
)
else:
- # Remove the field name checks as they are not needed here.
base_checks = self.base_field.check()
if base_checks:
error_messages = "\n ".join(