You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.1 on 2020-01-24 22:27
|
|
from __future__ import unicode_literals
|
|
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('members', '0006_auto_20190914_2341'),
|
|
('mailer', '0002_auto_20190615_1225'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='EmailAddress',
|
|
fields=[
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.CharField(max_length=50, validators=[django.core.validators.RegexValidator('^[0-9a-zA-Z]*$', 'Only alphanumeric characters are allowed')], verbose_name='name')),
|
|
('to_members', models.ManyToManyField(to='members.Member', verbose_name='Forward to')),
|
|
],
|
|
options={
|
|
'verbose_name_plural': 'email addresses',
|
|
'verbose_name': 'email address',
|
|
},
|
|
),
|
|
]
|