Re: [Django] #12809: Add returning of parameters for get_from_clause()

2011-12-13 Thread Django
#12809: Add returning of parameters for get_from_clause()
-+-
 Reporter:  Kronuz   |Owner:  nobody
 Type:  Uncategorized|   Status:  closed
Component:  Database layer   |  Version:
  (models, ORM)  |   Resolution:  invalid
 Severity:  Normal   | Triage Stage:
 Keywords:  dynamic queries, |  Unreviewed
  from   |  Needs documentation:  0
Has patch:  0|  Patch needs improvement:  0
  Needs tests:  0|UI/UX:  0
Easy pickings:  0|
-+-
Changes (by Kronuz):

 * cc: Kronuz (added)
 * ui_ux:   => 0
 * type:   => Uncategorized
 * severity:   => Normal
 * easy:   => 0


-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #12809: Add returning of parameters for get_from_clause()

2010-02-10 Thread Django
#12809: Add returning of parameters for get_from_clause()
---+
  Reporter:  Kronuz| Owner:  nobody 
  
Status:  closed| Milestone: 
  
 Component:  Database layer (models, ORM)  |   Version: 
  
Resolution:  invalid   |  Keywords:  dynamic 
queries, from
 Stage:  Unreviewed| Has_patch:  0  
  
Needs_docs:  0 |   Needs_tests:  0  
  
Needs_better_patch:  0 |  
---+
Changes (by russellm):

  * status:  new => closed
  * needs_better_patch:  => 0
  * resolution:  => invalid
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I'm unclear why you can't use the normal query.join() mechanisms to
 achieve what you want to do. This gives you a great deal of control over
 the join type, join condition, etc.

-- 
Ticket URL: 
Django 
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #12809: Add returning of parameters for get_from_clause()

2010-02-07 Thread Django
#12809: Add returning of parameters for get_from_clause()
--+-
 Reporter:  Kronuz|   Owner:  nobody
   Status:  new   |   Milestone:
Component:  Database layer (models, ORM)  | Version:
 Keywords:  dynamic queries, from |   Stage:  Unreviewed
Has_patch:  0 |  
--+-
 Could it be possible to make the get_from_clause() in
 django.db.models.sql.compiler return params? It'd be useful in some cases
 to be able to "insert" parameters to the FROM (such as when you need to
 add an ON clause or other "extended" things)
 For an example of this, you can check the "Simple Backend" for the django-
 fts (at google code), in where I need to "patch" the structures directly
 to achieve what I wanted (or perhaps there's a better way?)... it's right
 there in fts.backends.simple, in the _search() method... where I add extra
 joined tables to do the search (just after the tables already in the
 queryset). I'd appreciate any comments. :)

-- 
Ticket URL: 
Django 
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.