Hi,

I realized that using the IN field lookup with an empty list, it
generates a SQL error (at least on MySQL).

Maybe the lookup could check if the list is empty before writing the
SQL condition.

I know that I could the check myself before applying the filter, but
doing directly on the DB api could save a lot of work and avoid errors.

Any thoughts?

Regards.
Enrico


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to