Commits

Anonymous committed 4cace7d

add RecordAdmin

  • Participants
  • Parent commits 7c87e22

Comments (0)

Files changed (1)

sumatra_wiki/smtwebadmin.py

 from django.contrib import admin
 from sumatra.recordstore.django_store.models import Record
 
-admin.site.register(Record)
+class RecordAdmin(admin.ModelAdmin):
+    list_display = ['label', 'reason', 'outcome', 'main_file', 'timestamp']
+
+admin.site.register(Record, RecordAdmin)