MCPcopy Create free account
hub / github.com/WebODM/WebODM / root_url_patterns

Function root_url_patterns

app/plugins/views.py:64–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62 raise Http404("No valid routes")
63
64def root_url_patterns():
65 result = []
66 for p in get_active_plugins():
67 for mount_point in p.root_mount_points():
68 result.append(url(mount_point.url, mount_point.view, *mount_point.args, **mount_point.kwargs))
69
70 return result

Callers 1

urls.pyFile · 0.85

Calls 3

get_active_pluginsFunction · 0.85
appendMethod · 0.80
root_mount_pointsMethod · 0.45

Tested by

no test coverage detected