Commits

François Parmentier committed ed00879

Fix the "said" bug.
Every entries ended by having the same said time.
Using auto_now_add=True instead of default=datetime.now() works much better!

  • Participants
  • Parent commits 4c1e8ae

Comments (0)

Files changed (1)

     """
     line        = models.TextField()
     utterer     = models.ForeignKey(User)
-    said        = models.DateTimeField(default=datetime.now())
+    said        = models.DateTimeField(auto_now_add=True)
     nodes       = models.ManyToManyField(Node)
     sentences   = None
     #