Made the created field editable

This commit is contained in:
Daniel Quinn 2016-03-21 13:54:32 +00:00
parent c199b0498d
commit 840626e571

View File

@ -152,7 +152,7 @@ class Document(models.Model):
)
tags = models.ManyToManyField(
Tag, related_name="documents", blank=True)
created = models.DateTimeField(default=timezone.now, editable=False)
created = models.DateTimeField(default=timezone.now)
modified = models.DateTimeField(auto_now=True, editable=False)
class Meta(object):