#11670: Minor limitation using fields named 'year' in related searches.
-------------------------------------+-------------------------------------
     Reporter:  andy@…               |                    Owner:
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  SVN
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  1                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by julien):

 Actually, I can post my patch right now (see above).

 As suggested by akaariai I've created a new
 `Options.resolve_lookup_path()` method and used it in multiple places,
 which allows to simplify the code quite a bit, in particular in the admin.
 I've tried to make the algorithm as efficient as possible and used some
 caching mechanism too.

 Feedback welcome. Thank you!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/11670#comment:14>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to