mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #18102 -- Defined min/max_length on French localflavor form fields
Thanks mothsART for the report and the initial patch.
This commit is contained in:
@@ -16,7 +16,8 @@ class FRLocalFlavorTests(SimpleTestCase):
|
||||
}
|
||||
invalid = {
|
||||
'2A200': error_format,
|
||||
'980001': error_format,
|
||||
'980001': ['Ensure this value has at most 5 characters (it has 6).'
|
||||
] + error_format,
|
||||
}
|
||||
self.assertFieldOutput(FRZipCodeField, valid, invalid)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user