mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Declare the default validators as an empty tuple.
This commit is contained in:
parent
1b53e804ee
commit
e0988b135f
|
@ -247,7 +247,7 @@ class Field(object):
|
|||
'required': _('This field is required.'),
|
||||
'null': _('This field may not be null.')
|
||||
}
|
||||
default_validators = []
|
||||
default_validators = ()
|
||||
default_empty_html = empty
|
||||
initial = None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user