Re: [Django] #34330: QuerySet of a model having Meta.ordering, returns the sortable field in values_list() and values()

2023-02-10 Thread Django
#34330: QuerySet of a model having Meta.ordering, returns the sortable field in
values_list() and values()
-+-
 Reporter:  r_valeev |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  2.2
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  duplicate
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => duplicate


Comment:

 As far as I'm aware it's a duplicate of #14357, fixed in Django 3.1+.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701863ca6d8f6-8c6a1f90-0a78-4784-97af-c1d6f4b017e5-00%40eu-central-1.amazonses.com.


Re: [Django] #34330: QuerySet of a model having Meta.ordering, returns the sortable field in values_list() and values()

2023-02-10 Thread Django
#34330: QuerySet of a model having Meta.ordering, returns the sortable field in
values_list() and values()
-+-
 Reporter:  r_valeev |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Database layer   |  Version:  2.2
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by r_valeev):

 * component:  Uncategorized => Database layer (models, ORM)


-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701863c366505-ed2532f7-47fe-4846-acfc-a17145f32333-00%40eu-central-1.amazonses.com.


[Django] #34330: QuerySet of a model having Meta.ordering, returns the sortable field in values_list() and values()

2023-02-10 Thread Django
#34330: QuerySet of a model having Meta.ordering, returns the sortable field in
values_list() and values()
-+
   Reporter:  r_valeev   |  Owner:  nobody
   Type:  Bug| Status:  new
  Component:  Uncategorized  |Version:  2.2
   Severity:  Normal |   Keywords:
   Triage Stage:  Unreviewed |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+
 If you pass a Queryset to Subquery(), whose model has Meta.ordering, then
 the fields declared in ordering will be added to the result of values() or
 values_list() imperceptibly, then the error "Subquery returns more than 1
 row" is raised

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701863b469caf-bfcb536a-fac3-4e5c-834a-a67798224c10-00%40eu-central-1.amazonses.com.