From bd885498dd943eeb606ef5a701de5910ea1ca993 Mon Sep 17 00:00:00 2001 From: FeliPython Date: Mon, 26 Aug 2024 10:06:00 -0300 Subject: [PATCH] Correct typos and update docstrings Fix typos in the `retrieve` method docstring and correct the action description in the `create` method docstring for better accuracy and clarity. This ensures the docstrings accurately reflect the methods' functionality. --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 04b2fcd..667f7e1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -392,13 +392,13 @@ class AlbumViewSet(viewsets.ViewSet): def create(self, request): """ - List the resources, albums in this case + Create a new resource, albums in this case """ pass def retrieve(self, request, pk=None): """ - Retrieve a single resources, album in this case + Retrieve a single resource, album in this case """ pass