1
0
Fork 0
mirror of synced 2024-06-16 09:24:52 +12:00

remove inaccurate updated ts from main index UI

This commit is contained in:
Nick Sweeting 2020-07-29 23:54:26 -04:00
parent b04e926810
commit 9dedcdd577

View file

@ -56,8 +56,8 @@ delete_snapshots.short_description = "Delete"
class SnapshotAdmin(admin.ModelAdmin):
list_display = ('added', 'title_str', 'url_str', 'files', 'size', 'updated')
sort_fields = ('title_str', 'url_str', 'added', 'updated')
list_display = ('added', 'title_str', 'url_str', 'files', 'size')
sort_fields = ('title_str', 'url_str', 'added')
readonly_fields = ('id', 'url', 'timestamp', 'num_outputs', 'is_archived', 'url_hash', 'added', 'updated')
search_fields = ('url', 'timestamp', 'title', 'tags')
fields = ('title', 'tags', *readonly_fields)