aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/fields.py
diff options
context:
space:
mode:
authorTom Christie2014-11-10 14:44:26 +0000
committerTom Christie2014-11-10 14:44:26 +0000
commit62ce653c61bb596f7fca99db86280c497c71b7ac (patch)
tree869117db22d73d605add6e61fef7cd42bf261e3b /rest_framework/fields.py
parentfd7db776addbd5e30f132fe6846ec5c5caab5c40 (diff)
downloaddjango-rest-framework-62ce653c61bb596f7fca99db86280c497c71b7ac.tar.bz2
Update fields.py
Diffstat (limited to 'rest_framework/fields.py')
-rw-r--r--rest_framework/fields.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/fields.py b/rest_framework/fields.py
index 4933d8db..58482db5 100644
--- a/rest_framework/fields.py
+++ b/rest_framework/fields.py
@@ -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):