# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models
import django.core.validators
import mtp.apps.translation.model_fields


class Migration(migrations.Migration):

    dependencies = [
        ('accounts', '0018_remove_mtpuser_favorite_trainings'),
    ]

    operations = [
        migrations.AlterField(
            model_name='mtpuser',
            name='username',
            field=models.CharField(unique=True, verbose_name='username', max_length=50, error_messages={'unique': 'A user with that username already exists.'}, help_text='Required. 50 characters or fewer. Letters, digits and @/./+/-/_ only.', validators=[django.core.validators.RegexValidator('^[\\w.@+-]+$', 'Enter a valid username. This value may contain only letters, numbers and @/./+/-/_ characters.', 'invalid')]),
        ),
    ]
