Closed hibernatedguy closed 7 years ago
It would be great if we capture created and modified timestamp for a Device.
from django.utils.translation import ugettext_lazy as _
class AbstractDevice(models.Model):
# other fields goes here.
creation_date = models.DateTimeField(verbose_name=_("Creation date"), auto_now_add=True)
modified_date = models.DateTimeField(verbose_name=_("Modified date"), auto_now=True)
I got the same error while setting it up, so what should i do to resolve the error?
check my pr #26
SystemCheckError :