#NEWLINE# def _get_m2m_db_table( self , opts ) : #NEWLINE# #INDENT# '\n        Function that can be curried to provide the m2m table name for this\n        relation.\n        ' #NEWLINE# if ( self . remote_field . through is not None ) : #NEWLINE# #INDENT# return self . remote_field . through . _meta . db_table #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if self . db_table : #NEWLINE# #INDENT# return self . db_table #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return utils . truncate_name ( ( '%s_%s' % ( opts . db_table , self . name ) ) , connection . ops . max_name_length ( ) )