aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/serializers.md
diff options
context:
space:
mode:
authorTom Christie2015-03-09 08:53:13 +0000
committerTom Christie2015-03-09 08:53:13 +0000
commite520ea0acba4272623e813834a5c5c8e74f11fd1 (patch)
treec1c9e69a6d30c1e8027c23a3bc49f35b16484621 /docs/api-guide/serializers.md
parentd46d860088d67686c5a9f9916c105825e2710a88 (diff)
parent140b94c32e3964fe5cd257809bd1f1508fa31c65 (diff)
downloaddjango-rest-framework-e520ea0acba4272623e813834a5c5c8e74f11fd1.tar.bz2
Merge pull request #2652 from jpadilla/master
Remove the 'docs for 3.0' banners.
Diffstat (limited to 'docs/api-guide/serializers.md')
-rw-r--r--docs/api-guide/serializers.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/api-guide/serializers.md b/docs/api-guide/serializers.md
index 940eb424..aad2236f 100644
--- a/docs/api-guide/serializers.md
+++ b/docs/api-guide/serializers.md
@@ -1,11 +1,5 @@
source: serializers.py
----
-
-**Note**: This is the documentation for the **version 3.0** of REST framework. Documentation for [version 2.4](http://tomchristie.github.io/rest-framework-2-docs/) is also available.
-
----
-
# Serializers
> Expanding the usefulness of the serializers is something that we would
@@ -23,7 +17,7 @@ The serializers in REST framework work very similarly to Django's `Form` and `Mo
Let's start by creating a simple object we can use for example purposes:
from datetime import datetime
-
+
class Comment(object):
def __init__(self, email, content, created=None):
self.email = email