Source

sumatra-wiki / sumatra_wiki / smtwebadmin.py

Full commit
1
2
3
4
5
6
7
8
9
from django.contrib import admin
from sumatra.recordstore.django_store.models import Record

class RecordAdmin(admin.ModelAdmin):
    fields = ['label', 'reason', 'outcome', 'tags']
    list_display = ['label', 'reason', 'outcome', 'main_file', 'tags',
                    'timestamp']

admin.site.register(Record, RecordAdmin)