#12828: Invalid SQL in GIS DB
---------------------------------------------+------------------------------
          Reporter:  [email protected]  |         Owner:  nobody     
            Status:  closed                  |     Milestone:             
         Component:  GIS                     |       Version:  1.1        
        Resolution:  worksforme              |      Keywords:  invalid SQL
             Stage:  Unreviewed              |     Has_patch:  1          
        Needs_docs:  0                       |   Needs_tests:  1          
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by joliveirinha):

  * status:  new => closed
  * needs_better_patch:  => 0
  * needs_tests:  => 1
  * needs_docs:  => 0
  * has_patch:  0 => 1
  * resolution:  => worksforme

Comment:

 I have just added a fix for this bug that works for me.
 I dont know if this breaks any functionality but I think not.
 Anyway, there is a quote_name_unless_alias function in BaseQuery class
 that can be used here, but since the query.py file does not exists in
 version 1.2 beta I don't know if this bug is reproducible anymore.

 Hope this helps.

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