docs: def getUrlList():
      """
      This function get the Page List from the DB and return the tuple to
      use in the urls.py, urlpatterns
      """
      """
      IF YOU WANT REBUILD YOUR STRUCTURE UNCOMMENT THE FOLLOWING LINE
      """
      #Node.rebuild()
  
      set_to_return = []
      set_url = []
  
      roots = Node.objects.filter(parent__isnull=True)
      for root in roots:
          nodes = root.get_descendants()
          for node in nodes:
              if node.page:
                  page = node.page
                  view = page.view
                  regex = r'^{0}$'.format(node.get_pattern())
                  regex_path = '{0}'.format(node.get_pattern())
                  view = u'{0}.{1}.{2}'.format(view.app_name, view.module_name, view.func_name)
                  """
                  check_static_vars add UPY_CONTEXT to page
                  """
                  page.check_static_vars(node)
                  app_url = url(regex, view, page.static_vars, page.scheme_name)
                  set_to_return.append(app_url)
                  set_url.append(regex_path)
                  if node.is_index:
                      regex = r'^$'
                      regex_path = ''
                      app_url = url(regex, view, page.static_vars, page.scheme_name)
                      set_to_return.append(app_url)
                      set_url.append(regex_path)
      return set_to_return, set_url