From 3f0ea42a51aa5e13638a17bb0ec4b964da315acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Ates?= Date: Mon, 18 Jan 2016 18:31:45 +0100 Subject: [PATCH] Add creation timestamp to manual check models. --- src/biomon/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/biomon/models.py b/src/biomon/models.py index fab8c75..7885f66 100644 --- a/src/biomon/models.py +++ b/src/biomon/models.py @@ -154,7 +154,7 @@ class Patient(Person): return None -class MetricCheck(models.Model): +class MetricCheck(TimestampedAbstractModel): patient = models.ForeignKey(Patient, verbose_name=_(u'Patient')) date = models.DateField(_(u'Date of check')) time = models.TimeField(_(u'Time of check'))