예제 #1
0
파일: views.py 프로젝트: ivankliuk/tt-cal
 def get(self):
     year = self.request.matchdict['year']
     return Date.get_months_of_year(Session(), year=year)
예제 #2
0
파일: views.py 프로젝트: ivankliuk/tt-cal
 def get(self):
     year = self.request.matchdict['year']
     month = self.request.matchdict['month']
     return Date.get_month_by_week(Session(), year=year, month=month)