From c66fdf932da0cb11a084a0fe8679ba6d75506611 Mon Sep 17 00:00:00 2001 From: Amelia Cordwell Date: Tue, 11 Jul 2017 09:54:48 +1200 Subject: [PATCH] Remove urlpatterns from url file urlpatterns has been deprecated since Django 1.8 and has been removed in 1.10 (the current version horizon master is on). Source: https://docs.djangoproject.com/en/1.10/releases/1.8/#django-conf-urls-patterns Change-Id: Iaf14e7401908f30093ffc6014f5efe46e525c57f --- distil_ui/content/billing/urls.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/distil_ui/content/billing/urls.py b/distil_ui/content/billing/urls.py index b5fda31..4c80bf1 100644 --- a/distil_ui/content/billing/urls.py +++ b/distil_ui/content/billing/urls.py @@ -12,12 +12,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf.urls import patterns # noqa from django.conf.urls import url # noqa from distil_ui.content.billing import views -urlpatterns = patterns( - '', +urlpatterns = [ url(r'^$', views.IndexView.as_view(), name='index'), -) +]