Skip to content

Commit 201e7ea

Browse files
committed
Merge pull request #2337 from BWStearns/master
use of double quotes broke the code highlighting.
2 parents e4c7c10 + 3569674 commit 201e7ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/fields.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ Let's look at an example of serializing a class that represents an RGB color val
480480

481481
class ColorField(serializers.Field):
482482
"""
483-
Color objects are serialized into "rgb(#, #, #)" notation.
483+
Color objects are serialized into 'rgb(#, #, #)' notation.
484484
"""
485485
def to_representation(self, obj):
486486
return "rgb(%d, %d, %d)" % (obj.red, obj.green, obj.blue)

0 commit comments

Comments
 (0)