course = Course.objects.filter(group__user=request.user)
Chris McComas wrote:
> I have a model that has a FK to django.contrib.auth.models Group. I
> run a query that gets all the groups that a user is a member of:
>
> groups = Group.objects.filter(user=request.user)
>
> Then I want to run a que
On Aug 18, 8:28 pm, Chris McComas wrote:
> I have a model that has a FK to django.contrib.auth.models Group. I
> run a query that gets all the groups that a user is a member of:
>
> groups = Group.objects.filter(user=request.user)
>
> Then I want to run a query for that model that gets and entrie
I have a model that has a FK to django.contrib.auth.models Group. I
run a query that gets all the groups that a user is a member of:
groups = Group.objects.filter(user=request.user)
Then I want to run a query for that model that gets and entries in
that model where the group FK is one of the gro
3 matches
Mail list logo