@staticmethod
def _column_value(obj, key):
    """ Returns the value from a queryset item
        """
    if isinstance(obj, dict):
        return obj.get(key, None)
    return getattr(obj, key, None)
