Re: [PATCH] pgarchives: settings: set DEBUG to False by default - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [PATCH] pgarchives: settings: set DEBUG to False by default
Date
Msg-id CABUevEwd3uD=QKiZku7MGj3BRWfmTXqPYLjW9LPBpwfR_ShiMg@mail.gmail.com
Whole thread
In response to [PATCH] pgarchives: settings: set DEBUG to False by default  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
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! 
--

pgsql-www by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Introduce contributor badges
Next
From: Magnus Hagander
Date:
Subject: Re: [PATCH] pglister: Filter pending subscriptions out of the list memberships page