#NEWLINE# def _create_application( self , name , user ) : #NEWLINE# #INDENT# app = Application . objects . create ( name = self , redirect_uris = 'http://example.com' , client_type = Application . CLIENT_CONFIDENTIAL , authorization_grant_type = Application . GRANT_AUTHORIZATION_CODE , user = user ) #NEWLINE# return app