def init_list(doctype):
 doc = frappe.get_meta(doctype)
 make_boilerplate(u'controller_list.js', doc)
 make_boilerplate(u'controller_list.html', doc)

def init_list ( doctype ) : doc = frappe . get_meta ( doctype ) make_boilerplate ( u'controller_list.js' , doc ) make_boilerplate ( u'controller_list.html' , doc )
make boilerplate list views .