add default to match sql

This commit is contained in:
Kyle Robbertze 2025-01-10 16:37:22 +00:00
parent 850e5f0aa8
commit e5f195001d
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class User(AbstractBaseUser):
choices=Role.choices,
db_column="type",
)
is_active = models.BooleanField()
is_active = models.BooleanField(default=False)
username = models.CharField(unique=True, max_length=255, db_column="login")
password = models.CharField(max_length=255, db_column="pass")