Project

General

Profile

« Previous | Next » 

Revision 10294684

Added by Benjamin Dauvergne over 12 years ago

fix wrong method ref

View differences:

calebasse/dossiers/models.py
250 250

  
251 251
    def days_before_notification_expiration(self):
252 252
        today = datetime.today()
253
        notification = get_last_notification(self)
253
        notification = self.get_last_notification(self)
254 254
        if not notification:
255 255
            return 0
256 256
        if notification.end_date < today:

Also available in: Unified diff