summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards/admin/defaults/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards/admin/defaults/urls.py')
-rw-r--r--openstack_dashboard/dashboards/admin/defaults/urls.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/openstack_dashboard/dashboards/admin/defaults/urls.py b/openstack_dashboard/dashboards/admin/defaults/urls.py
index 89a4b834f..f41fb7762 100644
--- a/openstack_dashboard/dashboards/admin/defaults/urls.py
+++ b/openstack_dashboard/dashboards/admin/defaults/urls.py
@@ -12,13 +12,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.defaults import views
urlpatterns = [
- url(r'^$', views.IndexView.as_view(), name='index'),
- url(r'^update_defaults$',
- views.UpdateDefaultQuotasView.as_view(), name='update_defaults'),
+ re_path(r'^$', views.IndexView.as_view(), name='index'),
+ re_path(r'^update_defaults$',
+ views.UpdateDefaultQuotasView.as_view(), name='update_defaults'),
]