1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-06-29 17:51:08 +02:00

Replace ... by …

Signed-off-by: Emmy D'ANELLO <ynerant@crans.org>
This commit is contained in:
2022-08-29 11:17:17 +02:00
parent 86bc2d2698
commit 48d9a8b5d2
5 changed files with 14 additions and 14 deletions

View File

@ -17,10 +17,10 @@ class Command(BaseCommand):
user.is_active = True
if kwargs['STAFF']:
if kwargs['verbosity'] > 0:
self.stdout.write(f"Add {user} to staff users...")
self.stdout.write(f"Add {user} to staff users")
user.is_staff = True
if kwargs['SUPER']:
if kwargs['verbosity'] > 0:
self.stdout.write(f"Add {user} to superusers...")
self.stdout.write(f"Add {user} to superusers")
user.is_superuser = True
user.save()