![Radomir Dopieralski](/assets/img/avatar_default.png)
With a single example failing test. The tests are only available when debug is enabled. Change-Id: I2f3b2933d3cf3c8bf4343dfd57e3da8d356bd32b
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
# -*- coding: utf8 -*-
|
|
#
|
|
# 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 settings
|
|
from django.conf import urls
|
|
from django.views import generic
|
|
from tuskar_ui.infrastructure.overview import urls as tuskar_urls
|
|
|
|
import tuskar_boxes.overview.views as views
|
|
|
|
|
|
urlpatterns = tuskar_urls.urlpatterns[1:]
|
|
urlpatterns.extend(urls.patterns(
|
|
'',
|
|
urls.url(r'^$', views.IndexView.as_view(), name='index'),
|
|
))
|
|
|
|
if settings.DEBUG:
|
|
urlpatterns.append(urls.url(
|
|
r'^qunit-tuskar-boxes$',
|
|
generic.TemplateView.as_view(template_name="tuskar_boxes/qunit.html"),
|
|
))
|