diff --git a/requirements.txt b/requirements.txt index 08b0f01..363740b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,9 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -pbr>=1.6 -Babel>=1.3 +pbr!=2.1.0,>=2.0.0 # Apache-2.0 +# Horizon Core Requirements +Django<1.11,>=1.8 # BSD +django-compressor>=2.0 # MIT +django-openstack-auth>=3.1.0 # Apache-2.0 +iso8601>=0.1.11 # MIT diff --git a/vitrage_dashboard/admin_alarms/urls.py b/vitrage_dashboard/admin_alarms/urls.py index ad8421f..f32d1a3 100644 --- a/vitrage_dashboard/admin_alarms/urls.py +++ b/vitrage_dashboard/admin_alarms/urls.py @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf import urls +from django.conf.urls import url from vitrage_dashboard.admin_alarms import views -urlpatterns = urls.patterns( +urlpatterns = [ '', - urls.url(r'^$', views.IndexView.as_view(), name='index'), -) + 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 61bda27..54ecaf6 100644 --- a/vitrage_dashboard/admin_dashboard/urls.py +++ b/vitrage_dashboard/admin_dashboard/urls.py @@ -12,12 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf import urls +from django.conf.urls import url from vitrage_dashboard.admin_dashboard import views import vitrage_dashboard.api.vitrage_rest_api # noqa -urlpatterns = urls.patterns( +urlpatterns = [ '', - urls.url(r'^$', views.IndexView.as_view(), name='index'), -) + 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 1510d93..092cee6 100644 --- a/vitrage_dashboard/admin_entities/urls.py +++ b/vitrage_dashboard/admin_entities/urls.py @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf import urls +from django.conf.urls import url from vitrage_dashboard.admin_entities import views -urlpatterns = urls.patterns( +urlpatterns = [ '', - urls.url(r'^$', views.IndexView.as_view(), name='index'), -) + url(r'^$', views.IndexView.as_view(), name='index'), +] diff --git a/vitrage_dashboard/alarms/urls.py b/vitrage_dashboard/alarms/urls.py index d314540..c14c260 100644 --- a/vitrage_dashboard/alarms/urls.py +++ b/vitrage_dashboard/alarms/urls.py @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf import urls +from django.conf.urls import url from vitrage_dashboard.alarms import views -urlpatterns = urls.patterns( +urlpatterns = [ '', - urls.url(r'^$', views.IndexView.as_view(), name='index'), -) + url(r'^$', views.IndexView.as_view(), name='index'), +] diff --git a/vitrage_dashboard/dashboard/urls.py b/vitrage_dashboard/dashboard/urls.py index 98f5d96..98501ff 100644 --- a/vitrage_dashboard/dashboard/urls.py +++ b/vitrage_dashboard/dashboard/urls.py @@ -12,12 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf import urls +from django.conf.urls import url import vitrage_dashboard.api.vitrage_rest_api # noqa from vitrage_dashboard.dashboard import views -urlpatterns = urls.patterns( +urlpatterns = [ '', - urls.url(r'^$', views.IndexView.as_view(), name='index'), -) + url(r'^$', views.IndexView.as_view(), name='index'), +] diff --git a/vitrage_dashboard/entities/urls.py b/vitrage_dashboard/entities/urls.py index fb94c78..0a70a34 100644 --- a/vitrage_dashboard/entities/urls.py +++ b/vitrage_dashboard/entities/urls.py @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf import urls +from django.conf.urls import url from vitrage_dashboard.entities import views -urlpatterns = urls.patterns( +urlpatterns = [ '', - urls.url(r'^$', views.IndexView.as_view(), name='index'), -) + url(r'^$', views.IndexView.as_view(), name='index'), +] diff --git a/vitrage_dashboard/templates/urls.py b/vitrage_dashboard/templates/urls.py index 472495c..e7dfe5a 100644 --- a/vitrage_dashboard/templates/urls.py +++ b/vitrage_dashboard/templates/urls.py @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -from django.conf import urls +from django.conf.urls import url from vitrage_dashboard.templates import views -urlpatterns = urls.patterns( +urlpatterns = [ '', - urls.url(r'^$', views.IndexView.as_view(), name='index'), -) + url(r'^$', views.IndexView.as_view(), name='index'), +]