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/admin.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/admin.py')
-rw-r--r-- | mirrors/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mirrors/admin.py b/mirrors/admin.py index 17365486..d958e21b 100644 --- a/mirrors/admin.py +++ b/mirrors/admin.py @@ -67,7 +67,7 @@ class MirrorAdmin(admin.ModelAdmin): 'isos', 'admin_email', 'alternate_email') list_filter = ('tier', 'active', 'public') search_fields = ('name', 'admin_email', 'alternate_email') - readonly_fields = ('created',) + readonly_fields = ('created', 'last_modified') inlines = [ MirrorUrlInlineAdmin, MirrorRsyncInlineAdmin, |