#2076: order_by with related table does not work
---------------------------+------------------------------------------------
   Reporter:  mtredinnick  |                Owner:  nobody          
     Status:  new          |            Component:  Database wrapper
    Version:  SVN          |           Resolution:                  
   Keywords:  qs-rf        |                Stage:  Accepted        
  Has_patch:  1            |           Needs_docs:  0               
Needs_tests:  0            |   Needs_better_patch:  1               
---------------------------+------------------------------------------------
Comment (by miracle2k):

 Replying to [comment:39 miracle2k]:
 > Not sure if this has been mentioned already, but this patch breaks
 functionality to refer to columns added by extra().

 To clarify: This is because the call to lookup_inner() in  line 495 throws
 a TypeError when it encounters the new column. I fixed this with a try-
 except-pass for me, but that probably means that I can't use both (extra-
 columns and related tables) at the same time.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2076#comment:40>
Django Code <http://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