Commits

Lars Yencken  committed 05264e8

Fixes a typo in the timestamp field specification.

  • Participants
  • Parent commits b81f542

Comments (0)

Files changed (1)

File src/models.py

     """
     tag = models.CharField(max_length=50)
     value = models.CharField(max_length=15)
-    timestamp = models.DateTimeField(auto_add_now=True)
+    timestamp = models.DateTimeField(auto_now_add=True)
 
     def __unicode__(self):
         return u'%s' % self.tag