MCPcopy
hub / github.com/django/django / ArrayMaxLengthValidator

Class ArrayMaxLengthValidator

django/contrib/postgres/validators.py:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13class ArrayMaxLengthValidator(MaxLengthValidator):
14 message = ngettext_lazy(
15 "List contains %(show_value)d item, it should contain no more than "
16 "%(limit_value)d.",
17 "List contains %(show_value)d items, it should contain no more than "
18 "%(limit_value)d.",
19 "show_value",
20 )
21
22
23class ArrayMinLengthValidator(MinLengthValidator):

Callers 2

__init__Method · 0.90
__init__Method · 0.90

Calls 1

ngettext_lazyFunction · 0.90

Tested by

no test coverage detected