mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-22 23:13:46 +00:00
Apply 2 suggestion(s) to 2 file(s)
This commit is contained in:
parent
6091f1c187
commit
dc5c44b901
2 changed files with 4 additions and 4 deletions
|
@ -94,8 +94,8 @@ def sync_ldap():
|
||||||
synchronise_user(sender=User, instance=u)
|
synchronise_user(sender=User, instance=u)
|
||||||
for lr in ListRight.objects.all():
|
for lr in ListRight.objects.all():
|
||||||
synchronise_usergroup(sender=ListRight, instance=lr)
|
synchronise_usergroup(sender=ListRight, instance=lr)
|
||||||
for s in ServiceUser.objects.all():
|
for service_user in ServiceUser.objects.all():
|
||||||
synchronise_serviceuser(sender=ServiceUser, instance=s)
|
synchronise_serviceuser(sender=ServiceUser, instance=service_user)
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
|
|
|
@ -42,5 +42,5 @@ class Command(BaseCommand):
|
||||||
synchronise_user(sender=User, instance=user)
|
synchronise_user(sender=User, instance=user)
|
||||||
for lr in ListRight.objects.all():
|
for lr in ListRight.objects.all():
|
||||||
synchronise_usergroup(sender=ListRight, instance=lr)
|
synchronise_usergroup(sender=ListRight, instance=lr)
|
||||||
for s in ServiceUser.objects.all():
|
for service_user in ServiceUser.objects.all():
|
||||||
synchronise_serviceuser(sender=ServiceUser, instance=s)
|
synchronise_serviceuser(sender=ServiceUser, instance=service_user)
|
||||||
|
|
Loading…
Reference in a new issue