Make the logs easier to read

This commit is contained in:
Daniel Quinn 2016-07-19 14:13:59 +01:00
parent 48bca7ea57
commit de92423006

View File

@ -53,7 +53,7 @@ class DocumentAdmin(admin.ModelAdmin):
}
search_fields = ("correspondent__name", "title", "content")
list_display = ("created_", "correspondent", "title", "tags_", "document")
list_display = ("created", "correspondent", "title", "tags_", "document")
list_filter = ("tags", "correspondent", MonthListFilter)
list_per_page = 25
@ -110,8 +110,8 @@ class DocumentAdmin(admin.ModelAdmin):
class LogAdmin(admin.ModelAdmin):
list_display = ("message", "level",)
list_filter = ("level",)
list_display = ("created", "message", "level",)
list_filter = ("level", "created",)
admin.site.register(Correspondent, CorrespondentAdmin)