diff options
author | Dan McGee <dan@archlinux.org> | 2014-03-29 11:56:29 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-03-29 11:56:32 -0500 |
commit | 945337177d35a5c038e29b6594e1251f26d42156 (patch) | |
tree | d5689ec9cbfd050cac7a4d2e15c7f7fa0c40a8df /mirrors/models.py | |
parent | 21a4725b923565dd67219317062c02b652207880 (diff) |
Add last_modified column to mirrors
This will make it easier in the future to clear out inactive mirrors
that haven't been touched in a while.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/models.py')
-rw-r--r-- | mirrors/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/models.py b/mirrors/models.py index 0b053043..41132229 100644 --- a/mirrors/models.py +++ b/mirrors/models.py @@ -32,6 +32,7 @@ class Mirror(models.Model): bug = models.PositiveIntegerField("Flyspray bug", null=True, blank=True) notes = models.TextField(blank=True) created = models.DateTimeField(editable=False) + last_modified = models.DateTimeField(editable=False) class Meta: ordering = ('name',) |