#NEWLINE# def if_installed( appname , * args , **kwargs ) : #NEWLINE# #INDENT# ret = url ( * args , ** kwargs ) #NEWLINE# if ( appname not in settings . INSTALLED_APPS ) : #NEWLINE# #INDENT# ret = url ( '^(\\.(?P<response_format>\\w+))?$' , 'treeio.core.dashboard.views.index' , name = 'home' ) #NEWLINE# #UNINDENT# return appname