# Generated by Django 3.1.5 on 2021-05-06 16:08

import django.core.validators
from django.db import migrations, models
import easy_thumbnails.fields
import members.validators


class Migration(migrations.Migration):

    dependencies = [
        ('members', '0002_auto_20210412_2158'),
    ]

    operations = [
        migrations.AlterField(
            model_name='member',
            name='image',
            field=easy_thumbnails.fields.ThumbnailerImageField(upload_to='uploads/members/image/', validators=[members.validators.validate_file_size, members.validators.validate_image_dimension]),
        ),
        migrations.AlterField(
            model_name='member',
            name='mailaccount',
            field=models.CharField(error_messages={'unique': 'Diese Mailadresse existiert schon.'}, max_length=128, unique=True, validators=[django.core.validators.EmailValidator(), members.validators.validate_domainonly_email], verbose_name='Mailadresse'),
        ),
        migrations.AlterField(
            model_name='member',
            name='phone',
            field=models.CharField(blank=True, max_length=17, validators=[members.validators.PhoneNumberValidator()]),
        ),
        migrations.AlterField(
            model_name='member',
            name='username',
            field=models.CharField(blank=True, max_length=128, verbose_name='fet.at Benutzername'),
        ),
    ]
