#12268: [PATCH] can't do %s on extra select
---------------------------------------------------+------------------------
          Reporter:  [email protected]           |         Owner:  nobody     
        
            Status:  new                           |     Milestone:             
        
         Component:  Database layer (models, ORM)  |       Version:  1.1        
        
        Resolution:                                |      Keywords:  select 
extra escape
             Stage:  Unreviewed                    |     Has_patch:  1          
        
        Needs_docs:  0                             |   Needs_tests:  0          
        
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by master):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Exactly the same problem, I have to feed a sqlite DB with a
 "strftime('%s',date)".

 When I saw the '... avoid using the substring "%%s"...' in the
 documentation, I first thought 'well, so there must be another way to give
 this pattern, let's have a look at the source' ... but no.

 Manuel, your patch works great! Thanks

 (I know, my comment may be only a me-too, but it's a support to Manuel and
 a vote to have this ticket processed)

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