Converted project_setup and project_tools apps to use new elementtree based menus
This commit is contained in:
@@ -4,13 +4,6 @@ from elementtree.ElementTree import Element, SubElement
|
||||
|
||||
from . import setup_menu
|
||||
|
||||
#setup_items = []
|
||||
|
||||
|
||||
def register_setup(link):
|
||||
#setup_items.append(link)
|
||||
SubElement(setup_menu, 'a', link=link)
|
||||
|
||||
# Append the link's children_view_regex to the setup main menu children view regex
|
||||
#setup_link.setdefault('children_view_regex', [])
|
||||
#setup_link['children_view_regex'].extend(link.get('children_view_regex', []))
|
||||
SubElement(setup_menu, 'setup_link', link=link)
|
||||
|
||||
Reference in New Issue
Block a user