[PATCH] pgarchives: settings: set DEBUG to False by default

Поиск
Список
Период
Сортировка
Искать

[PATCH] pgarchives: settings: set DEBUG to False by default

От:
Célestin Matte <celestin.matte@cmatte.me>
Дата:
Вложения:
Unlike pglister and pgweb, pgarchives has DEBUG set to True by default.
This is dangerous and could lead to deployments being made with this default settings in case of an oversight (if it's not explicitly overriden in local_settings.py).
Set it to False by default, matching pglister and pgweb.

-- 
Célestin Matte

Re: [PATCH] pgarchives: settings: set DEBUG to False by default

От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Wed, 7 Oct 2026 at 17:27, Célestin Matte <celestin.matte@cmatte.me> wrote:
Unlike pglister and pgweb, pgarchives has DEBUG set to True by default.
This is dangerous and could lead to deployments being made with this default settings in case of an oversight (if it's not explicitly overriden in local_settings.py).
Set it to False by default, matching pglister and pgweb.

Makes sense. Secure deployments should of course always set it in local_settings.py to be on the safe saide, but diong it by default is also good. Thus - applied. thanks! 
--
FAQ