def table_from_fk(fks):
    """Get the table name of the fk constraint, ignoring
    the cordis_projects table
    
    Args:
        fks (:obj:`list` of SqlAlchemy.ForeignKey): All foreign keys for a given table.
    Returns:
        tablename (str): The table name corresponding to the non-Project foreign key.
    """
    return [fk.column.table.name for fk in fks
            if fk.column.table.name != 'cordis_projects'][0]