mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
Update fields.py
This commit is contained in:
parent
fd7db776ad
commit
62ce653c61
|
@ -1106,7 +1106,7 @@ class HiddenField(Field):
|
|||
A hidden field does not take input from the user, or present any output,
|
||||
but it does populate a field in `validated_data`, based on its default
|
||||
value. This is particularly useful when we have a `unique_for_date`
|
||||
constrain on a pair of fields, as we need some way to include the date in
|
||||
constraint on a pair of fields, as we need some way to include the date in
|
||||
the validated data.
|
||||
"""
|
||||
def __init__(self, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue
Block a user