gws.plugin.admin_action.action

Admin action.

Source code: gws.plugin.admin_action.action

Module Contents

class gws.plugin.admin_action.action.Config

Bases: gws.base.action.Config

Administration tools. (added in 8.5)

class gws.plugin.admin_action.action.InspectorRequest(*args, **kwargs)

Bases: gws.Request

Request for the object inspector.

path: str = ''

Object path, or an asset name.

search: str = ''

Search text, text or prop=text.

class gws.plugin.admin_action.action.Object

Bases: gws.base.action.Object

Admin action.

Serves the administration tools: the object inspector and the tile cache viewer.

admin_inspector(req: gws.WebRequester, p: InspectorRequest) → gws.ContentResponse

Display the object inspector.

admin_map_cache(req: gws.WebRequester, p: ViewCacheRequest) → gws.ContentResponse

Display the tile cache viewer.

class gws.plugin.admin_action.action.Props

Bases: gws.base.action.Props

class gws.plugin.admin_action.action.ViewCacheRequest(*args, **kwargs)

Bases: gws.Request

Request for the cache viewer.

path: str = ''

empty, <cache>, <cache>/<z>, <cache>/<z>/<x>/<y>.<ext> or an asset name.

Type:

Page or tile path