#26153: Allow get_extra_descriptor_filter to return Q-objects
-------------------------------------+-------------------------------------
               Reporter:  akaariai   |          Owner:  nobody
                   Type:  Bug        |         Status:  new
              Component:  Database   |        Version:  1.9
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 In django 1.8 it was possible to return Q-objects from
 ForeignObject.get_extra_descriptor_filter(). In Django 1.9 the return
 value must be a dictionary.

 The problem is that in Django 1.9 it is impossible to return an OR
 combined condition. While the get_extra_descriptor_filter() is private API
 I'd like to maintain the ability to return Q-objects. This is
 straightforward patch with little regression risks.

--
Ticket URL: <https://code.djangoproject.com/ticket/26153>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.1984192b12bd46d063acf191382dc0db%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to