onegov.page.model.
Page
Defines a generic page.
onegov.page.collection.
PageCollection
Manages a hierarchy of pages.
Use it like this:
from onegov.page import PageCollection pages = PageCollection(session)
copy
Takes the given page and copies it to a given parent.
The parent may be the same as the given page or another. If there’s a conflict with existing children, the name is adjusted using get_unique_child_name().
get_unique_child_name()