I've tested with `django.db.connection` and `pysqlite2` in python and
the sqlite3 prompt, all work as expected. Only using `extra()` with
both `select` and `select_params` doesn't work.

I've opened up a ticket [1] for this. After discussion with Alex
Gaynor on IRC, it looks like the problem is that Django cannot accept
a string of comma separated values OR an iterator as a param to `extra
()` as it will not be properly escaped. Hopefully this can be fixed as
a feature enhancement, or the documentation changed to make this
limitation clear.

[1] http://code.djangoproject.com/ticket/10942

Cheers.
Tai.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to