diff --git a/docs/api-guide/views.md b/docs/api-guide/views.md index 3a93c2042..b116412bf 100644 --- a/docs/api-guide/views.md +++ b/docs/api-guide/views.md @@ -221,7 +221,7 @@ You may pass `None` in order to exclude the view from schema generation. When using Django 4.1 and above, REST framework allows you to work with async class based and function based views. -For class based view, the view needs the handler methods such as `.get()`, `.post()`, `put()`, `patch()` and `.delete()` to be all async otherwise Django will raise an exception. For function based view the view needs to be async. +For class based view, the view needs the handler methods such as `.get()`, `.post()`, `put()`, `patch()` and `.delete()` to be all async otherwise Django will raise an exception. For function based view, the view needs to be async. For example: