summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-15 09:00:20 -0500
committerDan McGee <dan@archlinux.org>2011-03-15 09:00:20 -0500
commit3d6392391b3a0b37bea06f36f1998344ae170df2 (patch)
treecf4dc8bc7c4e14ee01c8b868961321f022f1eb8f /main/models.py
parent9fd7174029de87e58e25db6362f6e1c5349f0599 (diff)
Check in actual models update for DateTime migration
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 727dc010..24befddd 100644
--- a/main/models.py
+++ b/main/models.py
@@ -349,7 +349,7 @@ class Todolist(models.Model):
creator = models.ForeignKey(User)
name = models.CharField(max_length=255)
description = models.TextField()
- date_added = models.DateField(auto_now_add=True)
+ date_added = models.DateTimeField(auto_now_add=True)
objects = TodolistManager()
def __unicode__(self):
return self.name