fix
This commit is contained in:
@ -29,8 +29,8 @@ class TimeTableView(GetDateMixin, BaseDiffusionListView):
|
||||
attach_to_value = StaticPage.Target.TIMETABLE
|
||||
template_name = "aircox/timetable_list.html"
|
||||
|
||||
def get_date(self):
|
||||
date = super().get_date()
|
||||
def get_date(self, param="date"):
|
||||
date = super().get_date(param)
|
||||
return date if date is not None else datetime.date.today()
|
||||
|
||||
def get_logs(self, date):
|
||||
|
Reference in New Issue
Block a user