1
0
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:
Adam Johnson
2025-09-19 12:27:05 +02:00
committed by Sarah Boyce
parent d29852ae72
commit 8b241f84e2
4 changed files with 54 additions and 7 deletions

View File

@@ -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
=======================