Renamed the template variable from period_parser to period.

This commit is contained in:
2020-07-08 07:40:50 +08:00
parent 76df32a76d
commit ad0eb6e73e
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ class BaseReportView(generic.ListView):
def get_context_data(self, **kwargs):
data = super(BaseReportView, self).get_context_data(**kwargs)
data["period_parser"] = self.period_parser
data["period"] = self.period_parser
data["pagination_links"] = self.pagination.links
return data