Project

General

Profile

« Previous | Next » 

Revision 10294684

Added by Benjamin Dauvergne over 13 years ago

fix wrong method ref

View differences:

calebasse/dossiers/models.py
def days_before_notification_expiration(self):
today = datetime.today()
notification = get_last_notification(self)
notification = self.get_last_notification(self)
if not notification:
return 0
if notification.end_date < today:

Also available in: Unified diff