From 8d50846847852741410463d98de2c4f9e5fea844 Mon Sep 17 00:00:00 2001 From: shu-mutou Date: Fri, 5 Feb 2016 11:27:18 +0900 Subject: [PATCH] Update URLs to Django 1.8 style django.conf.urls.patterns() is deprecated since 1.8. We should not use patterns(), so this patch updates URLs to 1.8 style. Change-Id: I6f2b6f44d843ca5e0cdb5db9828df94fa4df5f88 Closes-Bug: #1539354 --- zaqar_ui/content/queues/urls.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zaqar_ui/content/queues/urls.py b/zaqar_ui/content/queues/urls.py index 5e989b2..f94fea1 100644 --- a/zaqar_ui/content/queues/urls.py +++ b/zaqar_ui/content/queues/urls.py @@ -17,7 +17,6 @@ from django.conf import urls from zaqar_ui.content.queues import views -urlpatterns = urls.patterns( - 'zaqar_ui.content.queues', +urlpatterns = [ urls.url(r'^$', views.IndexView.as_view(), name='index'), -) +]