mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
This commit is contained in:
parent
2b03e8e9e8
commit
42b9a23267
64 changed files with 195 additions and 195 deletions
|
@ -21,7 +21,7 @@ class DecimalFieldTests(TestCase):
|
|||
# Uses default rounding of ROUND_HALF_EVEN.
|
||||
self.assertEqual(f.to_python(2.0625), Decimal('2.062'))
|
||||
self.assertEqual(f.to_python(2.1875), Decimal('2.188'))
|
||||
msg = "'abc' value must be a decimal number."
|
||||
msg = '“abc” value must be a decimal number.'
|
||||
with self.assertRaisesMessage(ValidationError, msg):
|
||||
f.to_python('abc')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue