diff --git a/requirements/base.txt b/requirements/base.txt index 239f5b1d8e..373687285e 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -2,6 +2,7 @@ Django==2.0.7 django-attachments>=1.3 django-glrm django-grappelli +django-report-builder django-simple-history django-vinaigrette django-uuslug diff --git a/tcms/settings/common.py b/tcms/settings/common.py index a8993502f8..3d89420bf7 100644 --- a/tcms/settings/common.py +++ b/tcms/settings/common.py @@ -200,6 +200,7 @@ 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.static', + 'django.template.context_processors.media', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', @@ -236,6 +237,7 @@ 'django_comments', 'dj_pagination', 'modernrpc', + 'report_builder', 'simple_history', 'tinymce', diff --git a/tcms/templates/navigation.html b/tcms/templates/navigation.html index 75139a5edc..cad01ea518 100644 --- a/tcms/templates/navigation.html +++ b/tcms/templates/navigation.html @@ -163,6 +163,9 @@
  • Testing report
  • +
  • + Report builder +
  • diff --git a/tcms/urls.py b/tcms/urls.py index 2c668b4e62..db48380464 100644 --- a/tcms/urls.py +++ b/tcms/urls.py @@ -12,6 +12,7 @@ from modernrpc.core import JSONRPC_PROTOCOL from modernrpc.core import XMLRPC_PROTOCOL from modernrpc.views import RPCEntryPoint +import report_builder.urls as report_builder_urls from tinymce import urls as tinymce_urls from tcms.core import ajax from tcms.core import views as core_views @@ -90,6 +91,7 @@ # Report zone url(r'^report/', include(report_urls)), + url(r'^report_builder/', include(report_builder_urls)), # Advanced search url(r'^advance-search/$',