list updated

This commit is contained in:
j 2009-08-29 15:24:57 +02:00
parent b04c16f5d4
commit 2fd4dcf548
1 changed files with 1 additions and 2 deletions

View File

@ -9,8 +9,7 @@ import models
class TextAdmin(admin.ModelAdmin):
search_fields = ['title', 'authors__name', 'languages__name']
list_display = ('title', 'version', 'file')
list_filter = ('authors', )
list_display = ('title', 'version', 'file', 'updated')
filter_horizontal = ('authors', )
admin.site.register(models.Text, TextAdmin)