[Migration] More 404 #9
Labels
No Label
Change
Feature
General Task
HotFix Required
Idea
Issue
Major
Minor
Question
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Commander1024/lostplaces-backend#9
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original https://git.mowoe.com/reverend/lostplaces-backend/issues/9 by reverend from Wed, 09 Sep 2020 20:22:01 CEST
The views rely on passing a valid primary key for the corresponding object. The fetching of those objects should be replace with django's get_or_404 shortcut functoin
Comment by reverend from Fri, 18 Sep 2020 23:31:49 CEST
Using get_object_or_404 in situations where suitable
2a3ee3de8d