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: Icf3242def3d78cc2cc383eb95df1e5c264f63f08 Closes-Bug: #1703316
This commit is contained in:
parent
acf517bb3e
commit
d07c974d66
@ -2,5 +2,9 @@
|
|||||||
# of appearance. Changing the order has an impact on the overall integration
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
pbr>=1.6
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||||
Babel>=1.3
|
# 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
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from django.conf import urls
|
from django.conf.urls import url
|
||||||
|
|
||||||
from vitrage_dashboard.admin_alarms import views
|
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'),
|
||||||
)
|
]
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from django.conf import urls
|
from django.conf.urls import url
|
||||||
|
|
||||||
from vitrage_dashboard.admin_dashboard import views
|
from vitrage_dashboard.admin_dashboard import views
|
||||||
import vitrage_dashboard.api.vitrage_rest_api # noqa
|
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'),
|
||||||
)
|
]
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from django.conf import urls
|
from django.conf.urls import url
|
||||||
|
|
||||||
from vitrage_dashboard.admin_entities import views
|
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'),
|
||||||
)
|
]
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from django.conf import urls
|
from django.conf.urls import url
|
||||||
|
|
||||||
from vitrage_dashboard.alarms import views
|
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'),
|
||||||
)
|
]
|
||||||
|
@ -12,12 +12,12 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from django.conf import urls
|
from django.conf.urls import url
|
||||||
|
|
||||||
import vitrage_dashboard.api.vitrage_rest_api # noqa
|
import vitrage_dashboard.api.vitrage_rest_api # noqa
|
||||||
from vitrage_dashboard.dashboard import views
|
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'),
|
||||||
)
|
]
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from django.conf import urls
|
from django.conf.urls import url
|
||||||
|
|
||||||
from vitrage_dashboard.entities import views
|
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'),
|
||||||
)
|
]
|
||||||
|
@ -12,11 +12,11 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
from django.conf import urls
|
from django.conf.urls import url
|
||||||
|
|
||||||
from vitrage_dashboard.templates import views
|
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'),
|
||||||
)
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user