summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/admin/volume_types/extras/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/admin/volume_types/extras/urls.py')
-rw-r--r--openstack_dashboard/dashboards/admin/volume_types/extras/urls.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstack_dashboard/dashboards/admin/volume_types/extras/urls.py b/openstack_dashboard/dashboards/admin/volume_types/extras/urls.py
index 3271c0168..443cbd350 100644
--- a/openstack_dashboard/dashboards/admin/volume_types/extras/urls.py
+++ b/openstack_dashboard/dashboards/admin/volume_types/extras/urls.py
@@ -10,13 +10,13 @@
# 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.admin.volume_types.extras \
import views
urlpatterns = [
- url(r'^$', views.IndexView.as_view(), name='index'),
- url(r'^create/$', views.CreateView.as_view(), name='create'),
- url(r'^(?P<key>[^/]+)/edit/$', views.EditView.as_view(), name='edit'),
+ re_path(r'^$', views.IndexView.as_view(), name='index'),
+ re_path(r'^create/$', views.CreateView.as_view(), name='create'),
+ re_path(r'^(?P<key>[^/]+)/edit/$', views.EditView.as_view(), name='edit'),
]