aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/fields.py
diff options
context:
space:
mode:
authorTom Christie2014-11-13 22:16:53 +0000
committerTom Christie2014-11-13 22:16:53 +0000
commitcb672a0ecbc2b089370583884994dbd5f2b84acc (patch)
tree31794263d2c052923e3258bed86955bedd7f161b /rest_framework/fields.py
parent992330055eeb5d787ddd7d62dfc9121a2256fd9b (diff)
parent03310cc33ae800a36f17a421c8114e0e6616ccb6 (diff)
downloaddjango-rest-framework-cb672a0ecbc2b089370583884994dbd5f2b84acc.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
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):