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 reverend2021-10-18 11:45:13 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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