diff options
Diffstat (limited to 'src/resource_inventory/urls.py')
-rw-r--r-- | src/resource_inventory/urls.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/resource_inventory/urls.py b/src/resource_inventory/urls.py index f9bd07e..f230509 100644 --- a/src/resource_inventory/urls.py +++ b/src/resource_inventory/urls.py @@ -7,3 +7,13 @@ # which accompanies this distribution, and is available at # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## + +from django.conf.urls import url +from django.urls import path + +from resource_inventory.views import host_list_view, profile_view +app_name = 'resource' +urlpatterns = [ + url(r'^list/$', host_list_view, name='host-list'), + path('profile/<str:resource_id>', profile_view), +]
\ No newline at end of file |