summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/project/floating_ips/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/project/floating_ips/urls.py')
-rw-r--r--openstack_dashboard/dashboards/project/floating_ips/urls.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstack_dashboard/dashboards/project/floating_ips/urls.py b/openstack_dashboard/dashboards/project/floating_ips/urls.py
index 5d7ca6182..1b5873828 100644
--- a/openstack_dashboard/dashboards/project/floating_ips/urls.py
+++ b/openstack_dashboard/dashboards/project/floating_ips/urls.py
@@ -16,12 +16,12 @@
# 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.floating_ips import views
urlpatterns = [
- url(r'^$', views.IndexView.as_view(), name='index'),
- url(r'^associate/$', views.AssociateView.as_view(), name='associate'),
- url(r'^allocate/$', views.AllocateView.as_view(), name='allocate'),
+ re_path(r'^$', views.IndexView.as_view(), name='index'),
+ re_path(r'^associate/$', views.AssociateView.as_view(), name='associate'),
+ re_path(r'^allocate/$', views.AllocateView.as_view(), name='allocate'),
]