def create(self, is_social, **kwargs):
        if 'user' not in kwargs and 'user_id' not in kwargs:
            siteuser_model = models.get_model('social_login', 'SiteUser')
            user = siteuser_model.objects.create(is_social=is_social)
            kwargs['user_id'] = user.id
            
        return super(BaseManager, self).create(**kwargs)
dataset/ETHPy150Open yueyoum/django-social-login/social_login/manager.py/BaseManager.create/original