#3587: filter() and order_by()
---------------------------------------+------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  adrian          
     Status:  new                      |            Component:  Database wrapper
    Version:  0.95                     |           Resolution:                  
   Keywords:                           |                Stage:  Unreviewed      
  Has_patch:  0                        |           Needs_docs:  0               
Needs_tests:  0                        |   Needs_better_patch:  0               
---------------------------------------+------------------------------------
Comment (by Michael Radziej <[EMAIL PROTECTED]>):

 Args ... that didn't really improve the readability.
 
 Can you please repost this with proper line endings and with the code in {
 { {  and } } } (remove the spaces between the braces)? Try the preview
 button before you finally submit.
 
 Regarding {{{order_by}}}:
 
 I don't know how this folklore about the "{{{table.field}}}" syntax with
 the dot goes around -- this might work by chance (but not in all
 circumstances), but the documented way is "{{{model__field}}}".
 Unfortunately, the documented syntax "{{{model__field}}}" doesn't work,
 either. Ticket #2076 is about this.
 
 Regarding {{{filter}}}:
 
 I cannot really make sense of your code in this format, but you seem to
 have left out what actually went wrong.
 
 I would normally close the ticket, but it seems that Jacob wants to have a
 look on this.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3587#comment:4>
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