oncall-engine/engine/apps/api
Vadim Stepanov 68605029e4
Make viewset actions more consistent (#2120)
# What this PR does

Makes sure that all viewset actions with `detail=True` use
`self.get_object()` to retrieve an instance that's being acted upon.

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-06-07 12:10:53 +00:00
..
permissions Add "Notifications Receiver" RBAC role (#1853) 2023-05-02 12:19:34 +00:00
serializers Webhooks 2 hide secrets (#2104) 2023-06-06 07:59:12 +00:00
tests Make viewset actions more consistent (#2120) 2023-06-07 12:10:53 +00:00
throttlers Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
views Make viewset actions more consistent (#2120) 2023-06-07 12:10:53 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
response_renderers.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
urls.py Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00