cof -- Fix the club list view
This commit is contained in:
parent
a5071aa257
commit
bbe46645f7
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ def liste_clubs(request):
|
|||
if request.user.profile.is_buro:
|
||||
data = {'owned_clubs': clubs.all()}
|
||||
else:
|
||||
data = {'owned_clubs': request.user.clubs_geres,
|
||||
data = {'owned_clubs': request.user.clubs_geres.all(),
|
||||
'other_clubs': clubs.exclude(respos=request.user)}
|
||||
return render(request, 'liste_clubs.html', data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue