mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +03:00
Update format-suffixes.md
This commit is contained in:
parent
96cd3c372f
commit
176424e9d5
|
@ -42,7 +42,7 @@ When using `format_suffix_patterns`, you must make sure to add the `'format'` ke
|
|||
def comment_list(request, format=None):
|
||||
# do stuff...
|
||||
|
||||
Or with class based views:
|
||||
Or with class-based views:
|
||||
|
||||
class CommentList(APIView):
|
||||
def get(self, request, format=None):
|
||||
|
|
Loading…
Reference in New Issue
Block a user