mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Merge 7be5961b0a
into 996e587398
This commit is contained in:
commit
fcc2b62564
|
@ -311,7 +311,7 @@ class Field(object):
|
|||
def __init__(self, read_only=False, write_only=False,
|
||||
required=None, default=empty, initial=empty, source=None,
|
||||
label=None, help_text=None, style=None,
|
||||
error_messages=None, validators=None, allow_null=False):
|
||||
error_messages=None, validators=None, allow_null=False, **kwargs):
|
||||
self._creation_counter = Field._creation_counter
|
||||
Field._creation_counter += 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user