Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
RamezIssac committed Nov 8, 2023
1 parent b206e36 commit dbdc738
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## []
## [1.3.0] - 2023-11-08
- Implement Slick reporting media override feature + docs
- Add `Integrating reports into your Admin site` section to the docs
- Group by and crosstab reports do not need date_field set anymore. Only time series do.
Expand Down
4 changes: 2 additions & 2 deletions slick_reporting/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default_app_config = "slick_reporting.apps.ReportAppConfig"

VERSION = (1, 2, 0)
VERSION = (1, 3, 0)

__version__ = "1.2.0"
__version__ = "1.3.0"
2 changes: 1 addition & 1 deletion slick_reporting/app_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def get_end_date():
"bar": "fas fa-chart-bar",
"line": "fas fa-chart-line",
"area": "fas fa-chart-area",
"column": "fas fa-chart-column",
"column": "fas fa-chart-bar",
},
},
"CHARTS": {
Expand Down
3 changes: 3 additions & 0 deletions slick_reporting/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def get_crispy_helper(self, foreign_keys_map=None, crosstab_model=None, **kwargs
crosstab_model=getattr(self, "crosstab_model", None),
crosstab_key_name=getattr(self, "crosstab_key_name", None),
crosstab_display_compute_remainder=getattr(self, "crosstab_display_compute_remainder", False),
add_date_range=self.add_start_date or self.add_end_date,
**kwargs,
)

Expand Down Expand Up @@ -357,6 +358,8 @@ def report_form_factory(
"crosstab_display_compute_remainder": display_compute_remainder,
"crosstab_field_related_name": crosstab_field_related_name,
"crosstab_field_klass": crosstab_field_klass,
"add_start_date": add_start_date,
"add_end_date": add_end_date,
},
)
return new_form

0 comments on commit dbdc738

Please sign in to comment.