We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89af048 commit 60515c3Copy full SHA for 60515c3
api/user/models.py
@@ -44,6 +44,7 @@ class User(AbstractBaseUser, PermissionsMixin):
44
username = models.CharField(db_index=True, max_length=255)
45
email = models.EmailField(db_index=True, unique=True)
46
is_active = models.BooleanField(default=True)
47
+ is_staff = models.BooleanField(default=False)
48
date = models.DateTimeField(auto_now_add=True)
49
50
USERNAME_FIELD = "email"
0 commit comments