From 248ad6232d184586b48ab2dac302e03426c27e7d Mon Sep 17 00:00:00 2001 From: Idan Hefetz Date: Tue, 18 Jul 2017 11:12:39 +0000 Subject: [PATCH] Empty string should not be used in url pattern Change-Id: Ieb2a32007da0181370b97ad8fa03dc8dec82cafb --- vitrage_dashboard/admin_alarms/urls.py | 1 - vitrage_dashboard/admin_dashboard/urls.py | 1 - vitrage_dashboard/admin_entities/urls.py | 1 - vitrage_dashboard/alarms/urls.py | 1 - vitrage_dashboard/dashboard/urls.py | 1 - vitrage_dashboard/entities/urls.py | 1 - vitrage_dashboard/templates/urls.py | 1 - 7 files changed, 7 deletions(-) diff --git a/vitrage_dashboard/admin_alarms/urls.py b/vitrage_dashboard/admin_alarms/urls.py index f32d1a3..660722f 100644 --- a/vitrage_dashboard/admin_alarms/urls.py +++ b/vitrage_dashboard/admin_alarms/urls.py @@ -17,6 +17,5 @@ from django.conf.urls import url from vitrage_dashboard.admin_alarms import views urlpatterns = [ - '', url(r'^$', views.IndexView.as_view(), name='index'), ] diff --git a/vitrage_dashboard/admin_dashboard/urls.py b/vitrage_dashboard/admin_dashboard/urls.py index 54ecaf6..08ac6be 100644 --- a/vitrage_dashboard/admin_dashboard/urls.py +++ b/vitrage_dashboard/admin_dashboard/urls.py @@ -18,6 +18,5 @@ from vitrage_dashboard.admin_dashboard import views import vitrage_dashboard.api.vitrage_rest_api # noqa urlpatterns = [ - '', url(r'^$', views.IndexView.as_view(), name='index'), ] diff --git a/vitrage_dashboard/admin_entities/urls.py b/vitrage_dashboard/admin_entities/urls.py index 092cee6..965c402 100644 --- a/vitrage_dashboard/admin_entities/urls.py +++ b/vitrage_dashboard/admin_entities/urls.py @@ -17,6 +17,5 @@ from django.conf.urls import url from vitrage_dashboard.admin_entities import views urlpatterns = [ - '', url(r'^$', views.IndexView.as_view(), name='index'), ] diff --git a/vitrage_dashboard/alarms/urls.py b/vitrage_dashboard/alarms/urls.py index c14c260..5ddea74 100644 --- a/vitrage_dashboard/alarms/urls.py +++ b/vitrage_dashboard/alarms/urls.py @@ -17,6 +17,5 @@ from django.conf.urls import url from vitrage_dashboard.alarms import views urlpatterns = [ - '', url(r'^$', views.IndexView.as_view(), name='index'), ] diff --git a/vitrage_dashboard/dashboard/urls.py b/vitrage_dashboard/dashboard/urls.py index 98501ff..60f3012 100644 --- a/vitrage_dashboard/dashboard/urls.py +++ b/vitrage_dashboard/dashboard/urls.py @@ -18,6 +18,5 @@ import vitrage_dashboard.api.vitrage_rest_api # noqa from vitrage_dashboard.dashboard import views urlpatterns = [ - '', url(r'^$', views.IndexView.as_view(), name='index'), ] diff --git a/vitrage_dashboard/entities/urls.py b/vitrage_dashboard/entities/urls.py index 0a70a34..71c47e6 100644 --- a/vitrage_dashboard/entities/urls.py +++ b/vitrage_dashboard/entities/urls.py @@ -17,6 +17,5 @@ from django.conf.urls import url from vitrage_dashboard.entities import views urlpatterns = [ - '', url(r'^$', views.IndexView.as_view(), name='index'), ] diff --git a/vitrage_dashboard/templates/urls.py b/vitrage_dashboard/templates/urls.py index e7dfe5a..1130a5a 100644 --- a/vitrage_dashboard/templates/urls.py +++ b/vitrage_dashboard/templates/urls.py @@ -17,6 +17,5 @@ from django.conf.urls import url from vitrage_dashboard.templates import views urlpatterns = [ - '', url(r'^$', views.IndexView.as_view(), name='index'), ]