#29789: Support nested relations in FilteredRelation's condition
-------------------------------------+-------------------------------------
     Reporter:  Thomas Riccardi      |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Database layer       |                  Version:  2.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  FilteredRelation     |             Triage Stage:
  nested relations                   |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Nicolas Delaby):

 I simply couldn't find a way to make it work, I don't remember exactly why
 and I didn't have real incitement to do it at that time.
 The explicit ValueError is more a gate keeper preventing users to follow a
 path we know will fail cryptically.
 My suggestion would be start writing some tests, removing the ValueError
 and see how it goes.
 My priority at that time was to land the feature even with partial
 support. Now that a big chunk is there, we can more easily improve the
 support so nested relations is supported.
 Unfortunately I'm at the moment away from django stack, so I Invite you,
 Thomas , to give it a try, if it is important for you. You might go
 further than I could.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29789#comment:2>
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/073.b81deaa8266afae028ab817424473429%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to