From e973100f9076fe208fa9eb5f8e18c547235bce8a Mon Sep 17 00:00:00 2001 From: nathaniel smith Date: Sat, 14 Jan 2017 14:25:50 -0800 Subject: [PATCH] improve townie admin display --- ttadmin/users/admin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ttadmin/users/admin.py b/ttadmin/users/admin.py index 186f127..3212471 100644 --- a/ttadmin/users/admin.py +++ b/ttadmin/users/admin.py @@ -13,4 +13,5 @@ class PubkeyInline(admin.TabularInline): @admin.register(Townie) class TownieAdmin(admin.ModelAdmin): inlines = [PubkeyInline] - pass + list_display = ('reviewed', 'username', 'email') + ordering = ('reviewed',)