Added a PersonEvent type for email address deactivation.
- Legacy-Id: 15503
This commit is contained in:
parent
9b7c18d994
commit
5318c03b54
20
ietf/person/migrations/0007_auto_20180929_1303.py
Normal file
20
ietf/person/migrations/0007_auto_20180929_1303.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.15 on 2018-09-29 13:03
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('person', '0006_auto_20180910_0719'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='personevent',
|
||||
name='type',
|
||||
field=models.CharField(choices=[(b'apikey_login', b'API key login'), (b'gdpr_notice_email', b'GDPR consent request email sent'), (b'email_address_deactivated', b'Email address deactivated')], max_length=50),
|
||||
),
|
||||
]
|
|
@ -364,6 +364,8 @@ class PersonalApiKey(models.Model):
|
|||
|
||||
PERSON_EVENT_CHOICES = [
|
||||
("apikey_login", "API key login"),
|
||||
("gdpr_notice_email", "GDPR consent request email sent"),
|
||||
("email_address_deactivated", "Email address deactivated"),
|
||||
]
|
||||
|
||||
class PersonEvent(models.Model):
|
||||
|
|
Loading…
Reference in a new issue