Skip to content
Browse files

fixing date

  • Loading branch information...
1 parent 61085b7 commit 7268e2ecb1b5af13476a9fa245e6c947591400c6 @gregnewman committed Apr 30, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 faq/models.py
View
2 faq/models.py
@@ -12,7 +12,7 @@ class Topic(models.Model):
name = models.CharField(max_length=150)
slug = models.SlugField(max_length=150)
- created_on = models.DateTimeField(default=datetime.now)
+ created_on = models.DateTimeField(default=datetime.now, default=datetime.now, editable=False)
class Meta:
ordering = ['name']

0 comments on commit 7268e2e

Please sign in to comment.
Something went wrong with that request. Please try again.