这些表单可以被重命名,一些域可以被删除、添加等等。
These forms can be renamed and fields can be deleted, added, and so on.
更加有趣的代码出现在interfaceswitching中:set _ interface方法为在with _ interface方法中创建的代码块的作用域重新定义了原始(重命名的)方法。
More interesting code appears in the InterfaceSwitching mix-in: the set_interface method redefines the original (renamed) method for the scope of the block created within the with_interface method.
创建这个域的最容易的方法是简单地复制并粘贴body域,然后重命名为PageBody。
The easiest way to create this field is to simply copy and paste the Body field, then rename it PageBody.
应用推荐