encode / django-rest-framework

Web APIs for Django. 🎸
https://www.django-rest-framework.org
Other
28.5k stars 6.85k forks source link

Add test covering update view without `queryset` attribute #9528

Closed browniebroke closed 2 months ago

browniebroke commented 2 months ago

Description

Add test covering an expected behaviour from pre 3.15, where update views don't have to define a queryset attribute or get_queryset method. The behaviour regressed in 3.15 and the change was reverted in 3.15.1. However, it's a behaviour users care about which isn't covered by the test suite.