# -*- 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):
        from django.contrib.auth import validators
        from django.utils import six

        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=[validators.UnicodeUsernameValidator() if six.PY3 else validators.ASCIIUsernameValidator()],
                    verbose_name='username'),
            )
        )

@@ -111,36 +111,8 @@
 ls%0A%0A
-from django import VERSION%0A%0A
 from
@@ -285,39 +285,8 @@
 %5B%5D%0A%0A
-    if VERSION %3E= (1, 10):%0A    
     
@@ -332,50 +332,9 @@
 ors%0A
-        from django.utils import six%0A%0A    
+%0A
     
@@ -352,20 +352,16 @@
 append(%0A
-    
         
@@ -395,20 +395,16 @@
         
-    
 model_na
@@ -426,20 +426,16 @@
         
-    
 name='us
@@ -455,20 +455,16 @@
         
-  
-  
 field=mo
@@ -471,36 +471,32 @@
 dels.CharField(%0A
-    
                 
@@ -583,20 +583,16 @@
         
-    
 help_tex
@@ -683,20 +683,16 @@
         
- 
-   
 max_leng
@@ -715,20 +715,16 @@
         
-    
 unique=T
@@ -728,20 +728,16 @@
 e=True,%0A
-    
         
@@ -797,67 +797,11 @@
 or()
- if six.PY3 else validators.ASCIIUsernameValidator()%5D,%0A    
+%5D,%0A
     
@@ -850,18 +850,10 @@
     
-    )%0A    
+)%0A
     

drop support for Django<1.10