1、启用开发者模式
创建DocTypes需要在bench上开启开发者模式。
Go to your terminal and quit the bench server if it's already running then from the directory, run the following command:frappe-bench
$ bench set-config -g developer_mode true
$ bench start // 开启了
在首页,使用Awesomebar找到DocType列表。这个列表将包括与框架捆绑的doctype,这里你可以看到 已安装的Frappe应用程序的一部分,以及自定义的,你可以为每个站点创建特定的doctype。
页面视图
设置页面访问权限
- Enable Has Web View and Allow Guest to View
- Enter articles in the Route field
- Add fields named Route and Published in the fields table
- Click on Save