Which, fuckin' honestly, should be an object lesson for anyone who wants to advance progressive politics in this country. Engage in primary after primary and take over the party from within until the old guard are appalled at what it has become, except do that with good goals instead of horrifying ones.
And remember that by the time the election itself is at hand, it's too late to make meaningful change in the party platform. The primaries are what actually matter when it comes to changing course. Everything after that, it's just a binary choice between which of the major candidates you actually want in power.