@staticmethod<EOL><INDENT>def _import_management():<DEDENT>
from importlib import import_module<EOL>for app_name in settings.INSTALLED_APPS:<EOL><INDENT>try:<EOL><INDENT>import_module('<STR_LIT>', app_name)<EOL><DEDENT>except SystemError:<EOL><INDENT>pass<EOL><DEDENT>except ImportError as exc:<EOL><INDENT>msg = exc.args[<NUM_LIT:0>]<EOL>if not msg.startswith('<STR_LIT>')or '<STR_LIT>' not in msg:<EOL><INDENT>raise<EOL><DEDENT><DEDENT><DEDENT>
Import the 'management' module within each installed app, to register
dispatcher events.