Skip to content

Commit

Permalink
Update manuscript.py comment on custom 404 return
Browse files Browse the repository at this point in the history
  • Loading branch information
dchiller authored Nov 21, 2023
1 parent ae62891 commit d8c5073
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/public/cantusdata/views/manuscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ class ManuscriptDetail(generics.RetrieveAPIView):
def retrieve(self, request, *args, **kwargs):
"""
Overrides the default retrieval method
to return a redirect to the manuscript list
page if the manuscript is not found. Implemented
to prevent 404 errors from links to specific manuscripts
to return a custom 404 page if the manuscript
is not found. Implemented to prevent generic
404 errors from links to specific manuscripts
made before manuscript ids were stable.
"""

Expand Down

0 comments on commit d8c5073

Please sign in to comment.