Skip to content

Commit

Permalink
Correct typos and update docstrings
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lipemorais committed Aug 26, 2024
1 parent 95947ee commit bd88549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bd88549

Please sign in to comment.