def get(self): year = self.request.matchdict['year'] return Date.get_months_of_year(Session(), year=year)
def get(self): year = self.request.matchdict['year'] month = self.request.matchdict['month'] return Date.get_month_by_week(Session(), year=year, month=month)