python from kotti import Base from kotti.resources import Document def create_page(title, content): page = Document() page.title = title page.description = content Base.metadata.create_all() return page ini [kotti] sqlalchemy.url = postgresql://user:password@localhost/mydatabase kotti.configurators = kotti_tinymce.views.configure_tinymce myproject.views.configure_myproject


上一篇:
下一篇:
切换中文