#NEWLINE# def field_template_path( field , provider = None ) : #NEWLINE# #INDENT# if provider : #NEWLINE# #INDENT# provider_template_path = 'billing_documents/{provider}/{field}.html' . format ( provider = provider , field = field ) #NEWLINE# try : #NEWLINE# #INDENT# get_template ( provider_template_path ) #NEWLINE# return provider_template_path #NEWLINE# #UNINDENT# except TemplateDoesNotExist : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# #UNINDENT# return 'billing_documents/{field}.html' . format ( field = provider )