Skip to content

template

konigle.managers.website.template

Template managers for the Konigle SDK.

This module provides managers for template resources, enabling template management and operations for building landing pages.

AsyncTemplateManager

Bases: BaseTemplateManager, BaseAsyncManager

Async manager for template resources.

create(data) async

Create a new template.

update(id_, data) async

Update an existing template.

upgrade_to_single_component_template(id_) async

Upgrade a template to a single component template.

BaseTemplateManager

base_path = '/admin/api/site-templates' class-attribute instance-attribute

The API base path for this resource type.

resource_class = Template class-attribute instance-attribute

The resource model class this manager handles.

resource_update_class = TemplateUpdate class-attribute instance-attribute

The model class used for updating resources.

TemplateManager

Bases: BaseTemplateManager, BaseSyncManager

Manager for template resources.

create(data)

Create a new template.

update(id_, data)

Update an existing template.

upgrade_to_single_component_template(id_)

Upgrade a template to a single component template.