summaryrefslogtreecommitdiff
path: root/mirrors
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-11-12 09:41:28 -0600
committerDan McGee <dan@archlinux.org>2012-11-12 09:41:28 -0600
commit55d2d3ae51e1d0aa0927d682b45a3500588ed07b (patch)
tree1c1b9f9247300219eb0ef1186bc9b16150dfad8e /mirrors
parent99bfdda5f257107396179694b7c56aad8e5e6701 (diff)
Add get_latest_by to MirrorLog Meta class
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors')
-rw-r--r--mirrors/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/models.py b/mirrors/models.py
index 06b483d5..384668b8 100644
--- a/mirrors/models.py
+++ b/mirrors/models.py
@@ -131,5 +131,6 @@ class MirrorLog(models.Model):
class Meta:
verbose_name = 'mirror check log'
+ get_latest_by = 'check_time'
# vim: set ts=4 sw=4 et: