I have since discovered that I can use the following:
585 if len(name) > 0:
586 members = MemberRole.objects.filter(
Q(member__first_name = 'John') |
Q(member__last_name = 'John'),
587 start_date__lte = today,
588 end_date_
Hello, I'm using Django 0.96 and it is not possible to upgrade to
1.1/2 yet. I am attempting to perform the following function: "Get all
of the MemberRole objects filtered by start date and end date, and
also filtered by the Member's (foreign key relationship) first name OR
last name.
MemberRole:
2 matches
Mail list logo