gws.base.project.core

Source code: gws.base.project.core

Module Contents

class gws.base.project.core.Config(*args, **kwargs)

Bases: gws.ConfigWithAccess

Project configuration

type: str = 'default'
actions: list[gws.ext.config.action] | None

project-specific actions

assets: gws.base.web.site.WebDocumentRootConfig | None

project-specific assets options

client: gws.base.client.Config | None

project-specific gws client configuration

finders: list[gws.ext.config.finder] | None

search providers

locales: list[str] | None

project locales

map: gws.base.map.Config | None

Map configuration

metadata: gws.Metadata | None

project metadata

models: list[gws.ext.config.model] | None

data models

overviewMap: gws.base.map.Config | None

Overview map configuration

owsServices: list[gws.ext.config.owsService] | None

OWS services configuration

printers: list[gws.base.printer.Config] | None

print configurations

templates: list[gws.ext.config.template] | None

project info templates

title: str = ''

project title

class gws.base.project.core.Props(*args, **kwargs)

Bases: gws.Props

Object properties.

actions: list[gws.ext.props.action]
client: gws.base.client.Props | None
description: str
locales: list[str]
map: gws.ext.props.map
models: list[gws.ext.props.model]
metadata: gws.lib.metadata.Props
overviewMap: gws.ext.props.map
printers: list[gws.base.printer.Props]
title: str
uid: str
class gws.base.project.core.Object

Bases: gws.Project

Project object.

overviewMap: gws.base.map.Object
title: str
configure()

Configuration hook.

props(user)

Generate a Props struct for this object.

Parameters:

user – The user for which the props should be generated.