use of double quotes broke the code highlighting.

This commit is contained in:
Brian Stearns 2014-12-21 18:53:35 -05:00
parent e4c7c10b00
commit 3569674860

View File

@ -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)