aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2013-02-15 01:12:03 -0800
committerTom Christie2013-02-15 01:12:03 -0800
commit6dd867c8fe2673d1c57e503c35ca630188e98e19 (patch)
tree80f2d90070df208c505d35fb4e444c654f2efa6b /docs
parente919cb1b57a27f581c07080e341a86421df78a88 (diff)
parent5a5df18d182d43d993da8f0b5d4a8888e868fcae (diff)
downloaddjango-rest-framework-6dd867c8fe2673d1c57e503c35ca630188e98e19.tar.bz2
Merge pull request #660 from pelme/timefield
Added a serializer TimeField
Diffstat (limited to 'docs')
-rw-r--r--docs/api-guide/fields.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md
index 3f8a36e2..8c28273b 100644
--- a/docs/api-guide/fields.md
+++ b/docs/api-guide/fields.md
@@ -199,10 +199,16 @@ If you want to override this behavior, you'll need to declare the `DateTimeField
class CommentSerializer(serializers.ModelSerializer):
created = serializers.DateTimeField()
-
+
class Meta:
model = Comment
+## TimeField
+
+A time representation.
+
+Corresponds to `django.db.models.fields.TimeField`
+
## IntegerField
An integer representation.