pysite.sitemgr.models

This module contains the SiteManager’s nodes for the resource tree.

Node /sites is the root of the SiteManager. The resmgr places it into the resource tree. Its children are the configured sites, which are loaded dynamically.

Node /sites/www.example.com is the node of a configured site. Its dynamically loaded children are the pages of this site.

Node /sites/www.example.com/index is the node of a page. It may have subpages as its children or be a leaf node.

class pysite.sitemgr.models.Blog(parent, site, name)

Bases: builtins.object

title
class pysite.sitemgr.models.Page(parent, site, name, dir_)

Bases: builtins.object

keys()
title
class pysite.sitemgr.models.Site(parent, name, dir_)

Bases: builtins.object

keys()
title
class pysite.sitemgr.models.Sites(parent)

Bases: builtins.object

keys()
SITES_DIR = None

Directory where the sites are stored. This must be set during app startup!

title

Previous topic

pysite.sitemgr.page

Next topic

TODOs

This Page