mirror of https://github.com/django/django.git
Fixed #30001 -- Marked UUIDField.description for translation.
This commit is contained in:
parent
b07273a0f7
commit
0d724ce916
|
@ -2291,7 +2291,7 @@ class UUIDField(Field):
|
||||||
default_error_messages = {
|
default_error_messages = {
|
||||||
'invalid': _("'%(value)s' is not a valid UUID."),
|
'invalid': _("'%(value)s' is not a valid UUID."),
|
||||||
}
|
}
|
||||||
description = 'Universally unique identifier'
|
description = _('Universally unique identifier')
|
||||||
empty_strings_allowed = False
|
empty_strings_allowed = False
|
||||||
|
|
||||||
def __init__(self, verbose_name=None, **kwargs):
|
def __init__(self, verbose_name=None, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue