code: def transform_flask_from_long(node):
      '''Translates a flask.ext.wtf from-style import into a non-magical import.
  
      Translates:
          from flask.ext.wtf import Form
          from flask.ext.admin.model import InlineFormAdmin
      Into:
          from flask_wtf import Form
          from flask_admin.model import InlineFormAdmin
  
      '''
      actual_module_name = make_non_magical_flask_import(node.modname)
      new_node = nodes.ImportFrom(actual_module_name, node.names, node.level)
      copy_node_info(node, new_node)
      mark_transformed(new_node)
      return new_nodf transform_flask_from_long(node):
      '''Translates a flask.ext.wtf from-style import into a non-magical import.
  
      Translates:
          from flask.ext.wtf import Form
          from flask.ext.admin.model import InlineFormAdmin
      Into:
          from flask_wtf import Form
          from flask_admin.model import InlineFormAdmin
  
      '''
      actual_module_name = make_non_magical_flask_import(node.modname)
      new_node = nodes.ImportFrom(actual_module_name, node.names, node.level)
      copy_node_info(node, new_node)
      mark_transformed(new_node)
      return new_node
docs: Translates a flask.ext.wtf from-style import into a non-magical import.
  
      Translates:
          from flask.ext.wtf import Form
          from flask.ext.admin.model import InlineFormAdmin
      Into:
          from flask_wtf import Form
          from flask_admin.model import InlineFormAdmin