<s> from __future__ import unicode_literals <EOL> from django . db import models , migrations <EOL> from django . conf import settings <EOL> UNIQUE_EMAIL = getattr ( settings , '<STR_LIT>' , True ) <EOL> class Migration ( migrations . Migration ) : <EOL> dependencies = [ <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] <EOL> operations = [ <EOL> migrations . AlterField ( <EOL> model_name = '<STR_LIT>' , <EOL> name = '<STR_LIT:email>' , <EOL> field = models . EmailField ( unique = UNIQUE_EMAIL , max_length = <NUM_LIT> , verbose_name = '<STR_LIT>' ) , <EOL> ) , <EOL> ] <EOL> if not UNIQUE_EMAIL : <EOL> operations += [ <EOL> migrations . AlterUniqueTogether ( <EOL> name = '<STR_LIT>' , <EOL> unique_together = set ( [ ( '<STR_LIT:user>' , '<STR_LIT:email>' ) ] ) , <EOL> ) , <EOL> ] </s>
