dahee kim

change attribute name of RemoteHistory

...@@ -21,7 +21,7 @@ class Lock(models.Model) : ...@@ -21,7 +21,7 @@ class Lock(models.Model) :
21 21
22 class RemoteHistory(models.Model) : 22 class RemoteHistory(models.Model) :
23 device_name = models.CharField(max_length = 255) 23 device_name = models.CharField(max_length = 255)
24 - ctrtime = models.DateTimeField(default = timezone.now) 24 + created = models.DateTimeField(default = timezone.now)
25 25
26 class Record(models.Model) : 26 class Record(models.Model) :
27 id = models.IntegerField(primary_key = True) 27 id = models.IntegerField(primary_key = True)
......