From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-www(at)postgresql(dot)org |
Subject: | Re: links to 12 release notes broken after branching |
Date: | 2019-10-30 23:37:41 |
Message-ID: | 20191030233741.423cwi6ajnldtggi@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Hi,
On 2019-10-30 19:06:49 -0400, Jonathan S. Katz wrote:
> If no objections, I can apply soon.
Cool.
> diff --git a/pgweb/docs/views.py b/pgweb/docs/views.py
> index 1480903c..daea801e 100644
> --- a/pgweb/docs/views.py
> +++ b/pgweb/docs/views.py
> @@ -80,7 +80,7 @@ def docpage(request, version, filename):
> # a) viewing the docs for a version that does not exist yet (e.g. active
> # development before an initial beta) OR
> # b) viewing the docs for a beta version
> - is_released = Version.objects.filter(tree=release_version, testing=0).exists() if version == "devel" else True
> + is_released = Version.objects.filter(tree=release_version).exists() if version == "devel" else True
> # If we are viewing a released version of the release notesand the
> # release versions do not match, then we redirect
> if is_released and release_version != ver:
I'd probably still rename is_released, given that it's only released at
a beta at that point :)
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Jonathan S. Katz | 2019-10-30 23:42:58 | Re: links to 12 release notes broken after branching |
Previous Message | Jonathan S. Katz | 2019-10-30 23:06:49 | Re: links to 12 release notes broken after branching |