def at_initial_setup():
 modname = settings.AT_INITIAL_SETUP_HOOK_MODULE
 if (not modname):
  return
 try:
  mod = __import__(modname, fromlist=[None])
 except (ImportError, ValueError):
  return
 logger.log_info(' Running at_initial_setup() hook.')
 if mod.__dict__.get('at_initial_setup', None):
  mod.at_initial_setup()

def at_initial_setup ( ) : modname = settings . AT_INITIAL_SETUP_HOOK_MODULE if ( not modname ) : return try : mod = __import__ ( modname , fromlist = [ None ] ) except ( ImportError , ValueError ) : return logger . log_info ( ' Running at_initial_setup() hook.' ) if mod . __dict__ . get ( 'at_initial_setup' , None ) : mod . at_initial_setup ( )
custom hook for users to overload some or all parts of the initial setup .