Fixed bug in users/projector.py.
This commit is contained in:
parent
4c9683a1b3
commit
c4e23daccf
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user