work on schedule; section.as_view()

This commit is contained in:
bkfox
2016-06-07 01:57:06 +02:00
parent 2365cc8b8e
commit b99dec05e3
8 changed files with 184 additions and 120 deletions

View File

@ -662,7 +662,7 @@ class Diffusion(models.Model):
**filter_args
).order_by('-start')
def is_date_in_my_range(self, date):
def is_date_in_my_range(self, date = None):
"""
Return true if the given date is in the diffusion's start-end
range.