[Migration] More 404 #9

Closed
opened 2021-10-18 11:45:12 +02:00 by reverend · 0 comments
Collaborator

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

## 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
reverend self-assigned this 2021-10-18 11:45:12 +02:00
Commander1024 was assigned by reverend 2021-10-18 11:45:13 +02:00
Sign in to join this conversation.
No Milestone
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Commander1024/lostplaces-backend#9
No description provided.