Commits

Takafumi Arakaki  committed 58d7de9

set smtwebadmin.RecordAdmin.fields

  • Participants
  • Parent commits 6722c5c

Comments (0)

Files changed (1)

File sumatra_wiki/smtwebadmin.py

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