code: def disable_csrf_protection():
      
      if not HAS_PLONE_PROTECT:
          logger.warn(
              "Can not disable CSRF protection – please install plone.protect"
          )
          return False
      request = get_request()
      interface.alsoProvides(request, IDisableCSRFProtection)
      return True
docs: disables the CSRF protection
          https://pypi.python.org/pypi/plone.protect