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

View File

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