code: def parse_widget_name(widget):
      '''
      Parse a alias:block_name string into separate parts.
      '''
      try:
          alias, block_name = widget.split(':', 1)
      except ValueError:
          raise template.TemplateSyntaxError('widget name must be "alias:block_name" - %s' % widget)
  
      return alias, block_namf parse_widget_name(widget):
      '''
      Parse a alias:block_name string into separate parts.
      '''
      try:
          alias, block_name = widget.split(':', 1)
      except ValueError:
          raise template.TemplateSyntaxError('widget name must be "alias:block_name" - %s' % widget)
  
      return alias, block_name
docs: Parse a alias:block_name string into separate parts.