Skip to content

Commit 5318c03

Browse files
committed
Added a PersonEvent type for email address deactivation.
- Legacy-Id: 15503
1 parent 9b7c18d commit 5318c03

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.11.15 on 2018-09-29 13:03
3+
from __future__ import unicode_literals
4+
5+
from django.db import migrations, models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('person', '0006_auto_20180910_0719'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='personevent',
17+
name='type',
18+
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),
19+
),
20+
]

ietf/person/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ def __unicode__(self):
364364

365365
PERSON_EVENT_CHOICES = [
366366
("apikey_login", "API key login"),
367+
("gdpr_notice_email", "GDPR consent request email sent"),
368+
("email_address_deactivated", "Email address deactivated"),
367369
]
368370

369371
class PersonEvent(models.Model):

0 commit comments

Comments
 (0)