Fixed bug in users/projector.py.

This commit is contained in:
Norman Jäckel 2015-06-21 22:36:21 +02:00
parent 4c9683a1b3
commit c4e23daccf
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ class UserSlide(ProjectorElement):
if pk is not None:
yield ProjectorRequirement(
view_class=UserViewSet,
view_action='retrive',
pk=pk)
view_action='retrieve',
pk=str(pk))
for group in User.objects.get(pk=pk).groups.all():
yield ProjectorRequirement(