code: def disable_for_loaddata(signal_handler):
      
      @wraps(signal_handler)
      def wrapper(*args, **kwargs):
          for fr in inspect.stack():
              if inspect.getmodulename(fr[1]) == 'loaddata':
                  return  # pragma: no cover
          signal_handler(*args, **kwargs)
  
      return wrapper
docs: Decorator for disabling signals sent by 'post_save'
      on loaddata command.
      http://code.djangoproject.com/ticket/8399