def METHOD_NAME(year, proposal_id, slug=None):
    if year != event_year():
        abort(404)
    proposal = Proposal.query.get_or_404(proposal_id)
    if proposal.state not in ("accepted", "finished"):
        abort(404)
    if not current_user.is_anonymous:
        favourites_ids = [f.id for f in current_user.favourites]
    else:
        favourites_ids = []
    data = _get_proposal_dict(proposal, favourites_ids)
    data["start_date"] = data["start_date"].strftime("%Y-%m-%d %H:%M:%S")
    data["end_date"] = data["end_date"].strftime("%Y-%m-%d %H:%M:%S")
    # Remove unnecessary data for now
    del data["link"]
    del data["source"]
    del data["id"]
    return data