Hi

I fairly often have code that looks like

Model.objects.filter(id__in=some_list)

where some_list is generated programatically. Sometimes some_list is
empty, and if it is, I get a psycopg.ProgrammingError exception. OTOH if I
use SQLite I simply get back an empty query-set as expected.

Is this considered to be a bug, or must I simply live with it?

Thanks
Neilen

-- 
you know its kind of tragic 
we live in the new world
but we've lost the magic
-- Battery 9 (www.battery9.co.za)


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