-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
travel-expense-manager/backend/backend/core/managers.py
Lines 29 to 31 in 4d51991
| if extra_fields.get('is_staff') is not True: | |
| raise ValueError('Superuser must have is_staff=True.') | |
| if extra_fields.get('is_superuser') is not True: |
Why it's not better to use False instead not True?
Metadata
Metadata
Assignees
Labels
No labels