kotti.populate

Populate contains two functions that are called on application startup (if you haven’t modified kotti.populators).

kotti.populate.populate_users()[source]

Create the admin user with the password from the kotti.secret option if there is no user with name ‘admin’ yet.

kotti.populate.populate()[source]

Create the root node (Document) and the ‘about’ subnode in the nodes tree if there are no nodes yet.