Update format-suffixes.md

This commit is contained in:
Kenneth Schnall 2016-07-07 15:03:29 -04:00 committed by Ken Schnall
parent 96cd3c372f
commit 176424e9d5

View File

@ -42,7 +42,7 @@ When using `format_suffix_patterns`, you must make sure to add the `'format'` ke
def comment_list(request, format=None): def comment_list(request, format=None):
# do stuff... # do stuff...
Or with class based views: Or with class-based views:
class CommentList(APIView): class CommentList(APIView):
def get(self, request, format=None): def get(self, request, format=None):