From: lombardofr Date: Mon, 16 Dec 2019 14:03:48 +0000 (+0100) Subject: fix bug 973 X-Git-Tag: v7.1.0rc1~9 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=027523b50fdc082f2782b4ca1375fb2a3d9bb33d;p=osm%2FLW-UI.git fix bug 973 Change-Id: I5207b7a5e00cd396617da9d478962eea248e2dcc Signed-off-by: lombardofr --- diff --git a/instancehandler/urls.py b/instancehandler/urls.py index e68f5ce..ad4d509 100644 --- a/instancehandler/urls.py +++ b/instancehandler/urls.py @@ -18,7 +18,7 @@ from django.conf.urls import url from instancehandler import views urlpatterns = [ - url(r'^(?P[ns|vnf|pdu|nsi]+)/list/', views.list, name='list'), + url(r'^(?P[ns|vnf|pdu|nsi]+)/list/', views.get_list, name='list'), url(r'^(?P[ns|pdu|nsi]+)/create/', views.create, name='create'), url(r'^(?P[ns|pdu|nsi]+)/(?P[0-9a-z-]+)/delete$', views.delete, name='delete'), url(r'^(?P[ns|vnf]+)/(?P[0-9a-z-]+)/topology', views.show_topology, name='show_topology'), diff --git a/instancehandler/views.py b/instancehandler/views.py index cf88f99..64b5fd6 100644 --- a/instancehandler/views.py +++ b/instancehandler/views.py @@ -29,7 +29,7 @@ log = logging.getLogger('instancehandler/view.py') @login_required -def list(request, type=None): +def get_list(request, type=None): user = osmutils.get_user(request) project_id = user.project_id client = Client()