DESKTOP_USER = # This option allows the user to host the application on a LAN # Default hosting is on localhost (DEFAULT_SERVER='localhost'). # The default should be fine here, as it's not exposed in the app. # Default is WTF_CSRF_HEADERS = # User ID (email address) to use for the default user in desktop mode. SERVER_MODE # HTTP headers to search for CSRF token when it is not provided in the form. SERVER_MODE is None : SERVER_MODE = True else : SERVER_MODE = builtins. # NOTE: If you change the value of SERVER_MODE or DATA_DIR in an included # config file, you may also need to redefine any values below that are # derived from it, notably various paths such as LOG_FILE, SQLITE_PATH, # SESSION_DB_PATH, STORAGE_DIR, KERBEROS_CCACHE_DIR, and # AZURE_CREDENTIAL_CACHE_DIR if ( not hasattr ( builtins, 'SERVER_MODE' )) or builtins. That's to allow the # runtime to force it to False. # DO NOT DISABLE SERVER MODE IF RUNNING ON A WEBSERVER!! # We only set SERVER_MODE if it's not already set. HELP_PATH = './././docs/en_US/_build/html/' # Languages we support in the UI LANGUAGES = # DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING! # List of modules to skip when dynamically loading MODULE_BLACKLIST = # DO NOT CHANGE UNLESS YOU KNOW WHAT YOU ARE DOING! # List of treeview browser nodes to skip when dynamically loading NODE_BLACKLIST = # Server settings # The server mode determines whether or not we're running on a web server # requiring user authentication, or desktop mode which uses an automatic # default login. %s - %s ' % ( APP_RELEASE, APP_REVISION, APP_SUFFIX ) # Copyright string for display in the app APP_COPYRIGHT = 'Copyright (C) 2013 - 2022, The pgAdmin Development Team' # Misc stuff # Path to the online help. %s ' % ( APP_RELEASE, APP_REVISION ) else : APP_VERSION = ' %s. Should be in the format: # XYYZZ, where X is the release version, Y is the revision, with a leading # zero if needed, and Z represents the suffix, with a leading zero if needed APP_VERSION_INT = 61400 # DO NOT CHANGE! # The application version string, constructed from the components if not APP_SUFFIX : APP_VERSION = ' %s. APP_SUFFIX = '' # Numeric application version for upgrade checks. Usually an empty string # for GA releases. # Application version number components APP_RELEASE = 6 APP_REVISION = 14 # Application version suffix, e.g. insert ( 0, root ) from pgadmin.utils import env, IS_WIN, fs_short_path # Application settings # Name of the application to display in the UI APP_NAME = 'pgAdmin 4' APP_ICON = 'pg-icon' # Application settings # NOTE!!! # If you change any of APP_RELEASE, APP_REVISION or APP_SUFFIX, then you # must also change APP_VERSION_INT to match. # -*- coding: utf-8 -*- # pgAdmin 4 - PostgreSQL Tools # Copyright (C) 2013 - 2022, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # config.py - Core application configuration settings # import builtins import logging import os import sys # We need to include the root directory in sys.path to ensure that we can # find everything we need when running in the standalone runtime. %CommonProgramFiles%\pgadmin\config_system.py Library/Preferences/pgadmin/config_system.py The location for this file variesīased on the platform, and only needs to be created if desired. System-wide from a secure location that users cannot normally modify and that Intended for system administrators to include settings that are configured Wish to adjust to meet local preferences or standards.This file is optional,Īnd may be created by users in the same directory as config.py ifĬonfig_system.py: This file is read after config_local.py and is This file is optional,Īnd may be created by packagers in the same directory as config.py ifĬonfig_local.py: This file is read after config_distro.py and is intendedįor end users to change any default or packaging specific settings that they may This may typically include certain paths and file locations. Packagers to change any settings that are required for their pgAdmin distribution. It can be used as a reference for configuration settings, that may be overriddenĬonfig_distro.py: This file is read after config.py and is intended for Make sense to allow them to be changed through the user interface.Ĭonfig.py: This is the main configuration file, and should not be modified. System administrators may wish to control across an organisation to enforceĪre so rarely or unlikely to be changed that it doesn’t May be required to be set prior to startup of pgAdmin as they control how Theseįiles are used for configuration options that: There are multiple configuration files that are read at startup by pgAdmin.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |