This commit is contained in:
Piotr Kopycki 2021-12-23 14:03:40 +01:00
commit bafd7570dc
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.9 on 2021-12-21 07:01
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0003_alter_user_reset_code'),
]
operations = [
migrations.AlterField(
model_name='user',
name='is_active',
field=models.BooleanField(default=True),
),
]

View File

@ -9,7 +9,7 @@ class User(AbstractBaseUser):
last_name = models.CharField(max_length=100)
email = models.EmailField(db_index=True, unique=True, max_length=50)
is_active = models.BooleanField(default=False)
is_active = models.BooleanField(default=True)
confirmation_number = models.CharField(max_length=100)
reset_code = models.IntegerField(null=True)