Did I find the right examples for you? yes no

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

src/m/a/making_software-HEAD/making_software_perl/default_apps/allauth/socialaccount/adapter.py   making_software(Download)
from django.core.exceptions import ValidationError
 
from ..utils import (import_attribute,
                     get_user_model,
                     valid_email_or_none)
        user = get_user_model()()
        user_username(user, username or '')
        user_email(user, valid_email_or_none(email) or '')
        name_parts = (name or '').partition(' ')
        user_field(user, 'first_name', first_name or name_parts[0])

src/d/j/django-allauth-0.16.1/allauth/account/utils.py   django-allauth(Download)
    from django.utils.encoding import force_unicode as force_text
 
from ..utils import (import_callable, valid_email_or_none,
                     get_user_model)
 
    for address in addresses:
        # Pick up only valid ones...
        email = valid_email_or_none(address.email)
        if not email:
            continue

src/d/j/django-allauth-0.16.1/allauth/socialaccount/adapter.py   django-allauth(Download)
from django.core.exceptions import ValidationError
 
from ..utils import (import_attribute,
                     email_address_exists,
                     valid_email_or_none)
        user = sociallogin.account.user
        user_username(user, username or '')
        user_email(user, valid_email_or_none(email) or '')
        name_parts = (name or '').partition(' ')
        user_field(user, 'first_name', first_name or name_parts[0])

src/d/j/django-allauth-HEAD/allauth/account/utils.py   django-allauth(Download)
    from django.utils.encoding import force_unicode as force_text
 
from ..utils import (import_callable, valid_email_or_none,
                     get_user_model)
 
    for address in addresses:
        # Pick up only valid ones...
        email = valid_email_or_none(address.email)
        if not email:
            continue

src/m/a/making_software-HEAD/loopware/allauth/socialaccount/adapter.py   making_software(Download)
from django.core.exceptions import ValidationError
 
from ..utils import (import_attribute,
                     get_user_model,
                     valid_email_or_none)
        user = get_user_model()()
        user_username(user, username or '')
        user_email(user, valid_email_or_none(email) or '')
        name_parts = (name or '').partition(' ')
        user_field(user, 'first_name', first_name or name_parts[0])

src/d/j/django-allauth-HEAD/allauth/socialaccount/adapter.py   django-allauth(Download)
from django.core.exceptions import ValidationError
 
from ..utils import (import_attribute,
                     email_address_exists,
                     valid_email_or_none)
        user = sociallogin.account.user
        user_username(user, username or '')
        user_email(user, valid_email_or_none(email) or '')
        name_parts = (name or '').partition(' ')
        user_field(user, 'first_name', first_name or name_parts[0])

src/m/a/making_software-HEAD/making_software_perl/default_apps/allauth/account/utils.py   making_software(Download)
    from django.utils.encoding import force_unicode as force_text
 
from ..utils import import_callable, valid_email_or_none
 
from . import signals
    for address in addresses:
        # Pick up only valid ones...
        email = valid_email_or_none(address.email)
        if not email:
            continue

src/m/a/making_software-HEAD/loopware/allauth/account/utils.py   making_software(Download)
    from django.utils.encoding import force_unicode as force_text
 
from ..utils import import_callable, valid_email_or_none
 
from . import signals
    for address in addresses:
        # Pick up only valid ones...
        email = valid_email_or_none(address.email)
        if not email:
            continue