docs: def _imported_symbol(import_path):
      """Resolve a dotted path into a symbol, and return that.
  
      For example...
  
      >>> _imported_symbol('django.db.models.Model')
      <class 'django.db.models.base.Model'>
  
      Raise ImportError if there's no such module, AttributeError if no
      such symbol.
  
      """
      module_name, symbol_name = import_path.rsplit('.', 1)
      module = import_module(module_name)
      return getattr(module, symbol_name)