#22268: values_list() on a ManyToManyField returns extra None's when iterated 
over.
-------------------------------------+-------------------------------------
     Reporter:  k_sze                |                    Owner:
         Type:  Bug                  |  anubhav9042
    Component:  Database layer       |                   Status:  assigned
  (models, ORM)                      |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  orm, values_list,    |             Triage Stage:  Accepted
  ManyToManyField                    |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by anubhav9042):

 > In the end, the subclassed `dict` and `tuple` would work somewhat like
 the Django model, except that you access things in the form of
 dictionaries and tuples, and you limit the elements that can appear in
 them.

 Will think
 Although the same difficulty might come here as well.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22268#comment:26>
Django <https://code.djangoproject.com/>
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.ccaa3e2c55a68fdfb172ccf59caef6d0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to