#NEWLINE# @ register . simple_tag #NEWLINE# def treebeard_js( ) : #NEWLINE# #INDENT# '\n    Template tag to print out the proper <script/> tag to include a custom .js\n    ' #NEWLINE# path = get_static_url ( ) #NEWLINE# js_file = urljoin ( path , 'treebeard/treebeard-admin.js' ) #NEWLINE# jquery_ui = urljoin ( path , 'treebeard/jquery-ui-1.8.5.custom.min.js' ) #NEWLINE# TEMPLATE = '<script type="text/javascript" src="{}"></script><script type="text/javascript" src="{}"></script><script>(function($){{jQuery = $.noConflict(true);}})(django.jQuery);</script><script type="text/javascript" src="{}"></script>' #NEWLINE# return format_html ( TEMPLATE , 'jsi18n' , mark_safe ( js_file ) , mark_safe ( jquery_ui ) )