def track_field(field):
    """
    Returns whether the given field should be tracked by Actionslog.

    Untracked fields are many-to-many relations and relations to the Actionslog LogAction model.

    :param field: The field to check.
    :type field: Field
    :return: Whether the given field should be tracked.
    :rtype: bool
    """
    from actionslog.models import LogAction
    # Do not track many to many relations
    if field.many_to_many:
        return False

    # Do not track relations to LogAction
    if getattr(field, 'rel', None) is not None and field.rel.to == LogAction:
        return False

    return True