On Mon, Jan 19, 2009 at 3:15 PM, Matias Surdi <matiassu...@gmail.com> wrote: > > The curious thing here, is that the above query works perfect running it > directly through sqlite3. >
>From what I have seen by reading DB backend source code, Django cursor's execute() method supports only the printf-like parmeter maker style with a list or tuple of actual parameters. If you want to use the pyformat parameter marking style (as described in PEP 249), you' ll need to use the native DB-API driver API as you've already discovered. Regards, -- Ramiro Morales --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---