summaryrefslogtreecommitdiff
path: root/todolists/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'todolists/models.py')
-rw-r--r--todolists/models.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/todolists/models.py b/todolists/models.py
index 040f8a29..3ea80f37 100644
--- a/todolists/models.py
+++ b/todolists/models.py
@@ -67,7 +67,8 @@ class TodolistPackage(models.Model):
pkgbase = models.CharField(max_length=255)
arch = models.ForeignKey(Arch)
repo = models.ForeignKey(Repo)
- created = models.DateTimeField()
+ created = models.DateTimeField(editable=False)
+ last_modified = models.DateTimeField(editable=False)
removed = models.DateTimeField(null=True, blank=True)
status = models.SmallIntegerField(default=INCOMPLETE,
choices=STATUS_CHOICES)