Add creation timestamp to manual check models.

This commit is contained in:
Mikaël Ates 2016-01-18 18:31:45 +01:00
parent 59fe8dfbcd
commit 3f0ea42a51
1 changed files with 1 additions and 1 deletions

View File

@ -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'))