#NEWLINE# @ register . simple_tag #NEWLINE# def quickbooks_javascript( ) : #NEWLINE# #INDENT# menu_proxy_url = settings . QUICKBOOKS [ 'MENU_URL' ] #NEWLINE# grant_url = settings . QUICKBOOKS [ 'OAUTH_GRANT_URL' ] #NEWLINE# result = ( '\n    <script type="text/javascript" src="https://appcenter.intuit.com/Content/IA/intuit.ipp.anywhere.js"></script>\n    <script>intuit.ipp.anywhere.setup({\n        menuProxy: \'%s\',\n        grantUrl: \'%s\'\n    });</script>\n    ' % ( menu_proxy_url , menu_proxy_url ) ) #NEWLINE# return mark_safe ( result )