From 77032b5fbda863e53a68b3ec420d64ae79f2efcb Mon Sep 17 00:00:00 2001 From: Ramez Issac Date: Wed, 24 Feb 2021 07:49:44 +0200 Subject: [PATCH 1/2] Fix issue #27 --- CHANGELOG.md | 4 ++++ README.rst | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf1bee0..736fd67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [0.5.7] + +- Add ability to refer to related fields in a group by report(@jrutila) + ## [0.5.6] - Add exclude_field to report_form_factory (@gr4n0t4) diff --git a/README.rst b/README.rst index 6229de7..7f36f69 100644 --- a/README.rst +++ b/README.rst @@ -56,6 +56,7 @@ You can simply use a code like this # in views.py from django.db.models import Sum from slick_reporting.views import SlickReportView + from slick_reporting.fields import SlickReportField from .models import MySalesItems class TotalProductSales(SlickReportView): @@ -91,6 +92,7 @@ You can do a monthly time series : # in views.py from slick_reporting.views import SlickReportView + from slick_reporting.fields import SlickReportField from .models import MySalesItems class MonthlyProductSales(SlickReportView): From 06fa6d5da7f6807919529d4caf805ccf3605b112 Mon Sep 17 00:00:00 2001 From: Ramez Issac Date: Wed, 24 Feb 2021 07:50:14 +0200 Subject: [PATCH 2/2] Version Bump --- docs/source/conf.py | 2 +- docs/source/index.rst | 1 + slick_reporting/__init__.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index f83d1a2..9b572a5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -24,7 +24,7 @@ master_doc = 'index' # The full version, including alpha/beta/rc tags -release = '0.5.6' +release = '0.5.7' # -- General configuration --------------------------------------------------- diff --git a/docs/source/index.rst b/docs/source/index.rst index 00950ba..1a6b7d5 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -30,6 +30,7 @@ You can start by using ``SlickReportView`` which is a subclass of ``django.views # in views.py from slick_reporting.views import SlickReportView + from slick_reporting.fields import SlickReportField from .models import MySalesItems class MonthlyProductSales(SlickReportView): diff --git a/slick_reporting/__init__.py b/slick_reporting/__init__.py index 3dc8ef8..d2eb8d6 100644 --- a/slick_reporting/__init__.py +++ b/slick_reporting/__init__.py @@ -1,6 +1,6 @@ default_app_config = 'slick_reporting.apps.ReportAppConfig' -VERSION = (0, 5, 6) +VERSION = (0, 5, 7) -__version__ = '0.5.6' +__version__ = '0.5.7'