def get_patterns_for_title(path, title):
 app = apphook_pool.get_apphook(title.page.application_urls)
 url_patterns = []
 for pattern_list in get_app_urls(app.get_urls(title.page, title.language)):
  if (path and (not path.endswith('/'))):
   path += '/'
  page_id = title.page.id
  url_patterns += recurse_patterns(path, pattern_list, page_id)
 return url_patterns

def get_patterns_for_title ( path , title ) : app = apphook_pool . get_apphook ( title . page . application_urls ) url_patterns = [ ] for pattern_list in get_app_urls ( app . get_urls ( title . page , title . language ) ) : if ( path and ( not path . endswith ( '/' ) ) ) : path += '/' page_id = title . page . id url_patterns += recurse_patterns ( path , pattern_list , page_id ) return url_patterns
resolve the urlconf module for a path+title combination returns a list of url objects .