Ensure all release notes are accessible from "devel"
commitb58a71f19da73ca0a127c90952ee31c22d3bce05
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 30 Oct 2019 23:50:22 +0000 (30 19:50 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 30 Oct 2019 23:50:22 +0000 (30 19:50 -0400)
treed2d39e8a4aa02ee7004dfa98828d3d6d3f76d236
parent318d60d0fe1959d8cefda7bbb0f6a5a81ae251e9
Ensure all release notes are accessible from "devel"

When a new PostgreSQL branch is created, any "devel" notes for that branch
become immediately unavailable, which would make any shared devel links around
that dead.

This adjusts this logic such that any release notes for a release, beta or
otherwise, is now available by redirect the user to the release notes' permanent
home.

Reported By: Andres Freund <andres@anarazel.de>, who also mostly authored the
patch over email.
pgweb/docs/views.py