You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In 3.14, if a view was not a list view, and it overrode the get_object method, the view did not have to specify the queryset attribute or override the get_queryset() method.
In these cases, the queryset is not needed or used. However, in 3.15 an AssertionError is now thrown in this case. Was this intentional?
This appears to be related to the following call in the UpdateModelMixin which was recently added: queryset = self.filter_queryset(self.get_queryset())
Upgrading to 3.15 introduces a breaking change that could be missed by many, especially as I see no reference to it in the release notes.
amureki, herrbenesch, peterthomassen, MaxDude132, amweiss and 11 more