From 31ce1f74334add625a4ed82b531d769828237882 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Mon, 14 May 2018 02:27:28 +0430 Subject: Refs #29131 -- Fixed space handling in ArrayField's item_invalid message. --- django/contrib/postgres/fields/array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django/contrib/postgres/fields/array.py') diff --git a/django/contrib/postgres/fields/array.py b/django/contrib/postgres/fields/array.py index d2c1743861..ab667acd5b 100644 --- a/django/contrib/postgres/fields/array.py +++ b/django/contrib/postgres/fields/array.py @@ -19,7 +19,7 @@ __all__ = ['ArrayField'] class ArrayField(CheckFieldDefaultMixin, Field): empty_strings_allowed = False default_error_messages = { - 'item_invalid': _('Item %(nth)s in the array did not validate: '), + 'item_invalid': _('Item %(nth)s in the array did not validate:'), 'nested_array_mismatch': _('Nested arrays must have the same length.'), } _default_hint = ('list', '[]') -- cgit v1.3