Skip to content

Commit

Permalink
Tech preview: Django Report Builder
Browse files Browse the repository at this point in the history
Makes it possible for power users and admins to generate tabular
reports:
http://django-report-builder.readthedocs.io/en/latest/howto/

You will have to know the existing DB schema if you want to create
your own reports. See:
http://kiwitcms.readthedocs.io/en/latest/db.html

Please comment at:
#452
  • Loading branch information
atodorov committed Jul 30, 2018
1 parent ae286bc commit d0d4532
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements/base.txt
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tcms/settings/common.py
Expand Up @@ -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',
Expand Down Expand Up @@ -236,6 +237,7 @@
'django_comments',
'dj_pagination',
'modernrpc',
'report_builder',
'simple_history',
'tinymce',

Expand Down
3 changes: 3 additions & 0 deletions tcms/templates/navigation.html
Expand Up @@ -163,6 +163,9 @@
<li>
<a href="{% url "testing-report" %}" target="_parent">Testing report</a>
</li>
<li>
<a href="/report_builder/" target="_parent">Report builder</a>
</li>
</ul>
</li>

Expand Down
2 changes: 2 additions & 0 deletions tcms/urls.py
Expand Up @@ -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
Expand Down Expand Up @@ -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/$',
Expand Down

0 comments on commit d0d4532

Please sign in to comment.