diff options
author | Jack Morgan <jack.morgan@intel.com> | 2018-01-08 23:56:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-01-08 23:56:29 +0000 |
commit | ffc10727531acbb52f87c52f948e0158a18c65c9 (patch) | |
tree | 62905b84bce04e7ef1776888131e6051ba9500f2 /src/account | |
parent | 6173050b6bfc3d96d3056c5de4c927f1b461fe6e (diff) | |
parent | eb7cb88c62feae0b412f4ecc9a5e62c3f7bdc138 (diff) |
Merge "Implement Notification Framework with Initial Email Support"
Diffstat (limited to 'src/account')
-rw-r--r-- | src/account/migrations/0002_userprofile_email_addr.py | 20 | ||||
-rw-r--r-- | src/account/models.py | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/src/account/migrations/0002_userprofile_email_addr.py b/src/account/migrations/0002_userprofile_email_addr.py new file mode 100644 index 0000000..bfbed17 --- /dev/null +++ b/src/account/migrations/0002_userprofile_email_addr.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10 on 2017-12-14 20:37 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('account', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='userprofile', + name='email_addr', + field=models.CharField(default='email@mail.com', max_length=300), + ), + ] diff --git a/src/account/models.py b/src/account/models.py index bfc0bbe..47b012b 100644 --- a/src/account/models.py +++ b/src/account/models.py @@ -20,7 +20,7 @@ class UserProfile(models.Model): timezone = models.CharField(max_length=100, blank=False, default='UTC') ssh_public_key = models.FileField(upload_to=upload_to, null=True, blank=True) pgp_public_key = models.FileField(upload_to=upload_to, null=True, blank=True) - email_addr = models.CharField(max_length=300, blank=false, default='email@mail.com') + email_addr = models.CharField(max_length=300, blank=False, default='email@mail.com') company = models.CharField(max_length=200, blank=False) oauth_token = models.CharField(max_length=1024, blank=False) |