mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #36614 -- Deprecated QuerySet.values_list(flat=True) without a field.
Thanks to Jacob Walls and Simon Charette for their input. co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
This commit is contained in:
committed by
Sarah Boyce
parent
d29852ae72
commit
8b241f84e2
@@ -262,7 +262,9 @@ Features deprecated in 6.1
|
||||
Miscellaneous
|
||||
-------------
|
||||
|
||||
* ...
|
||||
* Calling :meth:`.QuerySet.values_list` with ``flat=True`` and no field name
|
||||
is deprecated. Pass an explicit field name, like
|
||||
``values_list("pk", flat=True)``.
|
||||
|
||||
Features removed in 6.1
|
||||
=======================
|
||||
|
||||
Reference in New Issue
Block a user