Thanks - that worked. I then tried pdata=myfile.objects.filter(mmtype__in=["W", "X"]) and that worked too!
Question: where can I find the complete documentation of the filter expressions? I've been reading a lot about Django and Python - and don't know where to find this information in the pile anymore... --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---