diff options
Diffstat (limited to 'openstack_dashboard/dashboards/project/networks/subnets/urls.py')
-rw-r--r-- | openstack_dashboard/dashboards/project/networks/subnets/urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack_dashboard/dashboards/project/networks/subnets/urls.py b/openstack_dashboard/dashboards/project/networks/subnets/urls.py index 8f187d6f7..3fb3c4a30 100644 --- a/openstack_dashboard/dashboards/project/networks/subnets/urls.py +++ b/openstack_dashboard/dashboards/project/networks/subnets/urls.py @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. -from django.conf.urls import url +from django.urls import re_path from openstack_dashboard.dashboards.project.networks.subnets import views @@ -20,5 +20,5 @@ from openstack_dashboard.dashboards.project.networks.subnets import views SUBNETS = r'^(?P<subnet_id>[^/]+)/%s$' urlpatterns = [ - url(SUBNETS % 'detail', views.DetailView.as_view(), name='detail'), + re_path(SUBNETS % 'detail', views.DetailView.as_view(), name='detail'), ] |