Skip to content

Commit bd88549

Browse files
committed
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.
1 parent 95947ee commit bd88549

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: docs/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -392,13 +392,13 @@ class AlbumViewSet(viewsets.ViewSet):
392392

393393
def create(self, request):
394394
"""
395-
List the resources, albums in this case
395+
Create a new resource, albums in this case
396396
"""
397397
pass
398398

399399
def retrieve(self, request, pk=None):
400400
"""
401-
Retrieve a single resources, album in this case
401+
Retrieve a single resource, album in this case
402402
"""
403403
pass
404404

0 commit comments

Comments
 (0)