Re: [pgadmin-hackers] Thoughts on allowing PGAdmin4 config file override - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgadmin-hackers] Thoughts on allowing PGAdmin4 config file override
Date
Msg-id CA+OCxoz3eepE85sr9RATCDQOc2_EjazPBzFvBYU6soNyxR3Gkw@mail.gmail.com
Whole thread Raw
In response to [pgadmin-hackers] Thoughts on allowing PGAdmin4 config file override  (Clifford Richardson <cmrallen@gmail.com>)
List pgadmin-hackers
On Wed, Apr 12, 2017 at 8:14 PM, Clifford Richardson <cmrallen@gmail.com> wrote:
> Is anyone working on allowing config file override for the defaults listed
> in the config.py file for PGAdmin4?
>
> I know it's stated that it's recommended to run a "proper" wsgi server
> behind this, however if I need to change the bind address or logging it's
> kind of weird changing the config params in the lib.
>
> Thoughts?

Umm, you've never needed to edit config.py. Config options should be
overridden in config_local.py (intended for end users), or
config_distro.py (intended for packagers):

https://www.pgadmin.org/docs4/1.x/server_deployment.html#configuration


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgadmin-hackers] [Design Update] Visual design of query editor and results table
Next
From: Dave Page
Date:
Subject: [pgadmin-hackers] pgAdmin 4 commit: Tag REL-1_4 has been created.