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:
|
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(
|
||||||
|
Loading…
Reference in New Issue
Block a user