docs: def get_column_model(name, model=None):
      """
      get model field according to name
      """
      if '.' in name:
          m, name = name.split('.')
          model = get_model(m)
  
      if model:
          return model.c.get(name), model
      else:
          return None, None