#NEWLINE# def migrations_module( self ) : #NEWLINE# #INDENT# 'Returns the module name of the migrations module for this' #NEWLINE# app_label = application_to_app_label ( self . application ) #NEWLINE# if hasattr ( settings , 'SOUTH_MIGRATION_MODULES' ) : #NEWLINE# #INDENT# if ( app_label in settings . SOUTH_MIGRATION_MODULES ) : #NEWLINE# #INDENT# return settings . SOUTH_MIGRATION_MODULES [ app_label ] #NEWLINE# #UNINDENT# #UNINDENT# module_name = ( self . _application . __name__ + '.south_migrations' ) #NEWLINE# try : #NEWLINE# #INDENT# importlib . import_module ( app_label ) #NEWLINE# #UNINDENT# except ImportError : #NEWLINE# #INDENT# return ( self . _application . __name__ + '.migrations' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return module_name