gws.base.application.core
¶
Core application object
Source code: gws.base.application.core
Module Contents¶
- class gws.base.application.core.Config(*args, **kwargs)¶
Bases:
gws.ConfigWithAccess
Main application configuration
- actions: list[gws.ext.config.action] | None¶
System-wide server actions.
- auth: gws.base.auth.manager.Config | None¶
Authorization methods and options.
- cache: gws.gis.cache.Config | None¶
Global cache configuration.
- client: gws.base.client.Config | None¶
Gws client configuration.
- database: gws.base.database.manager.Config | None¶
Database configuration.
- developer: dict | None¶
Developer options.
- finders: list[gws.ext.config.finder] | None¶
Global search providers.
- fonts: gws.lib.font.Config | None¶
Fonts configuration.
- helpers: list[gws.ext.config.helper] | None¶
Helpers configurations.
- locales: list[str] | None¶
Default locales for all projects.
- metadata: gws.Metadata | None¶
Application metadata.
- models: list[gws.ext.config.model] | None¶
Global data models.
- owsServices: list[gws.ext.config.owsService] | None¶
OWS services configuration.
- plugins: list[dict] | None¶
Configuration for plugins.
- printers: list[gws.ext.config.printer] | None¶
Print configurations.
- projectDirs: list[gws.DirPath] | None¶
Directories with additional projects.
- projectPaths: list[gws.FilePath] | None¶
Additional project paths.
- projects: list[gws.ext.config.project] | None¶
Project configurations.
- server: gws.server.Config | None¶
Server engine options.
- storage: gws.base.storage.manager.Config | None¶
Database configuration.
- templates: list[gws.ext.config.template] | None¶
Default templates.
- web: gws.base.web.manager.Config | None¶
Web server options.
- class gws.base.application.core.Object¶
Bases:
gws.Application
Main Application object
- mpxConfig = ''¶
- mpxUrl = ''¶
- configure()¶
Configuration hook.
- developer_option(key)¶
Get a value of a developer option.
- helper(ext_type)¶
Get a Helper object by its extension type.
- post_configure()¶
Post-configuration hook.
- project(uid)¶
Get a Project object by its uid.