def create_user(request, ulogin_response):
<EOL>if s.CREATE_USER_CALLBACK is not None:<EOL><INDENT>callback = import_by_path(s.CREATE_USER_CALLBACK)<EOL>if callable(callback):<EOL><INDENT>return callback(request=request,<EOL>ulogin_response=ulogin_response)<EOL><DEDENT>raise ImproperlyConfigured(<EOL>"<STR_LIT>"<EOL>)<EOL><DEDENT>User = get_user_model()<EOL>return User.objects.create_user(<EOL>username=uuid.uuid4().hex[:<NUM_LIT:30>],<EOL>password=get_random_string(<NUM_LIT:10>, '<STR_LIT>'),<EOL>email='<STR_LIT>'<EOL>)<EOL>
Creates user