mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-10-31 16:07:38 +03:00 
			
		
		
		
	Merge pull request #2255 from mathspace/charfield-default-message
Update CharField default min_length message.
This commit is contained in:
		
						commit
						903fb5ff96
					
				|  | @ -509,7 +509,7 @@ class CharField(Field): | ||||||
|     default_error_messages = { |     default_error_messages = { | ||||||
|         'blank': _('This field may not be blank.'), |         'blank': _('This field may not be blank.'), | ||||||
|         'max_length': _('Ensure this field has no more than {max_length} characters.'), |         'max_length': _('Ensure this field has no more than {max_length} characters.'), | ||||||
|         'min_length': _('Ensure this field has no more than {min_length} characters.') |         'min_length': _('Ensure this field has at least {min_length} characters.') | ||||||
|     } |     } | ||||||
|     initial = '' |     initial = '' | ||||||
|     coerce_blank_to_null = False |     coerce_blank_to_null = False | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user