aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorBrian Stearns2014-12-21 18:53:35 -0500
committerBrian Stearns2014-12-21 18:53:35 -0500
commit35696748603665526be7947e918d41856644ec52 (patch)
treeb8d795a5a4ce480f7b756b7be8cc8cbb21843e13 /docs
parente4c7c10b0083ad5da27a494714494283de2f1895 (diff)
downloaddjango-rest-framework-35696748603665526be7947e918d41856644ec52.tar.bz2
use of double quotes broke the code highlighting.
Diffstat (limited to 'docs')
-rw-r--r--docs/api-guide/fields.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/fields.md b/docs/api-guide/fields.md
index f06db56c..946e355d 100644
--- a/docs/api-guide/fields.md
+++ b/docs/api-guide/fields.md
@@ -480,7 +480,7 @@ Let's look at an example of serializing a class that represents an RGB color val
class ColorField(serializers.Field):
"""
- Color objects are serialized into "rgb(#, #, #)" notation.
+ Color objects are serialized into 'rgb(#, #, #)' notation.
"""
def to_representation(self, obj):
return "rgb(%d, %d, %d)" % (obj.red, obj.green, obj.blue)