Add code that allows getting just the root groups for an inventory.

This commit is contained in:
Michael DeHaan
2013-05-14 18:28:13 -04:00
parent e528ede913
commit 5b65b3bfac
3 changed files with 27 additions and 1 deletions

View File

@@ -74,6 +74,7 @@ inventory_urls = patterns('lib.main.views',
url(r'^(?P<pk>[0-9]+)/$', 'inventory_detail'),
url(r'^(?P<pk>[0-9]+)/hosts/$', 'inventory_hosts_list'),
url(r'^(?P<pk>[0-9]+)/groups/$', 'inventory_groups_list'),
url(r'^(?P<pk>[0-9]+)/root_groups/$', 'inventory_root_groups_list'),
)
hosts_urls = patterns('lib.main.views',