improve townie admin display

pull/3/head
nathaniel smith 2017-01-14 14:25:50 -08:00
parent 289a47aee4
commit e973100f90
1 changed files with 2 additions and 1 deletions

View File

@ -13,4 +13,5 @@ class PubkeyInline(admin.TabularInline):
@admin.register(Townie) @admin.register(Townie)
class TownieAdmin(admin.ModelAdmin): class TownieAdmin(admin.ModelAdmin):
inlines = [PubkeyInline] inlines = [PubkeyInline]
pass list_display = ('reviewed', 'username', 'email')
ordering = ('reviewed',)