# HG changeset patch # User Brian Neal # Date 1302220338 0 # Node ID 6144023ebea8440a03de104b8bb95c0e84029358 # Parent 639cfdf59167613eb376faf56a34b833f3070f76 Downloads admin improvements: don't filter by user or IP address. Made the is_public editable on the change list page. diff -r 639cfdf59167 -r 6144023ebea8 gpp/downloads/admin.py --- a/gpp/downloads/admin.py Thu Apr 07 00:59:10 2011 +0000 +++ b/gpp/downloads/admin.py Thu Apr 07 23:52:18 2011 +0000 @@ -57,7 +57,8 @@ exclude = ('html', ) list_display = ('title', 'user', 'category', 'date_added', 'ip_address', 'hits', 'average_score', 'size', 'is_public') - list_filter = ('date_added', 'is_public', 'category', 'user', 'ip_address') + list_filter = ('date_added', 'is_public', 'category') + list_editable = ('is_public', ) date_hierarchy = 'date_added' ordering = ('-date_added', ) search_fields = ('title', 'description', 'user__username')