eaeb997abd
Remove Django patterns from code. Patterns from django.conf.urls has been removed in Django 1.10. Current Django version in devstack is 1.10.7 Remove global_settings.TEMPLATE_CONTEXT_PROCESSORS because this variable has been removed in Django 1.10. Story: 2001120 Task: 4811 Change-Id: I84a4aceb73abd37dab4acf43b9abf8b43c7f1625
27 lines
910 B
Python
27 lines
910 B
Python
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
from django.conf import urls
|
|
from django.views import generic
|
|
|
|
import openstack_dashboard.urls
|
|
|
|
urlpatterns = [
|
|
urls.url(
|
|
r'^qunit_tuskar',
|
|
generic.TemplateView.as_view(
|
|
template_name="infrastructure/qunit.html"),
|
|
name='qunit_tests'),
|
|
urls.url(r'', urls.include(openstack_dashboard.urls))
|
|
]
|