Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Дата
Msg-id CABUevEyryYyxN-586xP0b2Qa1TzVOe6F9mtSodKO_Q1+AumO9g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives  (Célestin Matte <celestin.matte@cmatte.me>)
Список pgsql-www
On Wed, Oct 27, 2021 at 11:58 AM Célestin Matte
<celestin.matte@cmatte.me> wrote:
>
> Hello,
>
> Here's a similar patch for pgarchives, in which the search forms also point to www.postgresql.org.
>
> I'm adding this patch to the same thread to avoid spreading the discussion.

Thanks!

This also looks like a good idea,  but I instead choose to put it in
NavContext to be consistent with allow_resend which also just maps a
setting from settings.py -> the templates.

It should also be the full url and not hardcoded to https, same as the
one for the main website. Fixed as well.

Finally it was also not updating the form for the general search,
which should of course be treated by the same setting.


--
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



В списке pgsql-www по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: [PATCH] pgweb: Add ARCHIVES_FRONT_ADDRESS to allow configuration of archives
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [PATCH 1/2] pgarchives: Add missing authentication backend to settings.py