# -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-04-11 15:33
from __future__ import unicode_literals

from django import VERSION

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('email_auth', '0003_django110'),
    ]

    operations = []

    if VERSION >= (1, 10):
        import django.contrib.auth.validators

        operations.append(
            migrations.AlterField(
                model_name='user',
                name='username',
                field=models.CharField(error_messages={'unique': 'A user with that username already exists.'}, help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, unique=True, validators=[django.contrib.auth.validators.ASCIIUsernameValidator()], verbose_name='username'),
            )
        )

@@ -344,22 +344,20 @@
         
-import
+from
  django.
@@ -360,33 +360,40 @@
 ngo.contrib.auth
-.
+ import 
 validators%0A%0A    
@@ -386,16 +386,53 @@
 lidators
+%0A        from django.utils import six
 %0A%0A      
@@ -594,16 +594,37 @@
 arField(
+%0A                    
 error_me
@@ -686,16 +686,36 @@
 ists.'%7D,
+%0A                   
  help_te
@@ -794,70 +794,164 @@
 y.',
- max_length=150, unique=True, validators=%5Bdjango.contrib.auth.
+%0A                    max_length=150,%0A                    unique=True,%0A                    validators=%5Bvalidators.UnicodeUsernameValidator() if six.PY3 else 
 vali
@@ -983,16 +983,36 @@
 ator()%5D,
+%0A                   
  verbose

add compatibility layer for Unicode usernames in PY3