from django.contrib import admin

from parliament.hansards.models import *

class DocumentOptions(admin.ModelAdmin):
    list_display=('number', 'date', 'session', 'document_type', 'committeemeeting')
    list_filter=('document_type', 'session', 'date', 'multilingual', 'public')
    
admin.site.register(Document, DocumentOptions)
admin.site.register(Statement)
@@ -272,16 +272,259 @@
 public')
+%0A%0Aclass StatementOptions(admin.ModelAdmin):%0A    list_display = ('politician', 'time', 'document', 'wordcount', 'procedural')%0A    list_filter = ('time',)%0A    raw_id_fields = ('document', 'member', 'politician', 'bills', 'mentioned_politicians')
 %0A    %0Aad
@@ -597,9 +597,27 @@
 tatement
+, StatementOptions
 )

update statement admin