add mail registration to app

This commit is contained in:
2021-10-27 20:03:41 +03:00
parent 196e9ab73b
commit 1b19a007ae
12 changed files with 167 additions and 33 deletions

View File

@@ -1,9 +1,7 @@
# Generated by Django 3.2.8 on 2021-10-24 11:03
# Generated by Django 3.2.8 on 2021-10-27 15:03
import django.contrib.auth.models
import django.contrib.auth.validators
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
@@ -32,6 +30,7 @@ class Migration(migrations.Migration):
('mobile', models.CharField(blank=True, help_text='Users mobile phone', max_length=15, null=True, unique=True)),
('verification_code', models.CharField(blank=True, help_text='Verification code for bot account', max_length=10, null=True, unique=True)),
('user_created', models.DateField(auto_now_add=True, help_text='Date when user has been created', verbose_name='User created')),
('activation_token', models.CharField(blank=True, help_text='Activation token for any user', max_length=20, null=True)),
('email', models.EmailField(help_text='User email', max_length=30, null=True, unique=True)),
('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')),
('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')),