有没有办法只用Python用Plone编写一个视图?我找到了一种表单的方法,但是你还能为视图构建什么呢?不带tal表达式
链接:https://docs.plone.org/4/en/develop/addons/helloworld/extend/form.html
发布于 2021-09-02 07:01:26
您可以使用Python编写一个视图来生成所需的HTML,而不需要模板。
请看一下https://training.plone.org/5/mastering-plone-5/index.html,特别是https://training.plone.org/5/mastering-plone-5/views_2.html#view-classes
一般来说,最好在我们的论坛https://community.plone.org上提问。
https://stackoverflow.com/questions/69031868
复制