mirror of
https://github.com/fspc/workstand.git
synced 2025-02-23 01:13:22 -05:00
Keep track of email consent.
This commit is contained in:
parent
b19c2f7073
commit
49e98929b0
@ -0,0 +1,20 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.9.4 on 2016-03-27 04:50
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('registration', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='member',
|
||||||
|
name='email_consent',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
]
|
@ -44,6 +44,7 @@ class Member(AbstractBaseUser, PermissionsMixin):
|
|||||||
max_length=255,
|
max_length=255,
|
||||||
unique=True,
|
unique=True,
|
||||||
)
|
)
|
||||||
|
email_consent = models.BooleanField(default=False)
|
||||||
first_name = models.CharField(max_length=255, null=False)
|
first_name = models.CharField(max_length=255, null=False)
|
||||||
last_name = models.CharField(max_length=255, null=False)
|
last_name = models.CharField(max_length=255, null=False)
|
||||||
preferred_name = models.CharField(max_length=255, null=True, blank=True)
|
preferred_name = models.CharField(max_length=255, null=True, blank=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user