#18098: order_with_respect_to should construct set_RELATED_order() method name 
from
related_name
-------------------------------------+-------------------------------------
     Reporter:  pressureman          |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Design
     Keywords:                       |  decision needed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by anonymous):

 How about making the order_with_respect_to attribute either a model name
 string for backwards compatibility, or a two-tuple, containing the parent
 model, and a name to assign the relationship? It's perhaps not the most
 elegant, but would satisfy both requirements.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/18098#comment:3>
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