'Initialize the EmailField.
Args:
domain_whitelist (list) - list of otherwise invalid domain
names which you\'d like to support.
allow_utf8_user (bool) - if True, the user part of the email
address can contain UTF8 characters.
False by default.
allow_ip_domain (bool) - if True, the domain part of the email
can be a valid IPv4 or IPv6 address.'

def __init__(self, domain_whitelist=None, allow_utf8_user=False, allow_ip_domain=False, *args, **kwargs):

    self.domain_whitelist = (domain_whitelist or [])
    self.allow_utf8_user = allow_utf8_user
    self.allow_ip_domain = allow_ip_domain
    super(EmailField, self).__init__(*args, **kwargs)
