Renamed the template variable from period_parser to period.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user