From 5318c03b5477444044e10f637ac6b78e9d4383f7 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sat, 29 Sep 2018 20:06:33 +0000 Subject: [PATCH] Added a PersonEvent type for email address deactivation. - Legacy-Id: 15503 --- .../migrations/0007_auto_20180929_1303.py | 20 +++++++++++++++++++ ietf/person/models.py | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 ietf/person/migrations/0007_auto_20180929_1303.py diff --git a/ietf/person/migrations/0007_auto_20180929_1303.py b/ietf/person/migrations/0007_auto_20180929_1303.py new file mode 100644 index 000000000..c8440c6a5 --- /dev/null +++ b/ietf/person/migrations/0007_auto_20180929_1303.py @@ -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), + ), + ] diff --git a/ietf/person/models.py b/ietf/person/models.py index b62918901..3a052b4a9 100644 --- a/ietf/person/models.py +++ b/ietf/person/models.py @@ -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):