list updated

This commit is contained in:
j 2009-08-29 15:24:57 +02:00
parent b04c16f5d4
commit 2fd4dcf548

View file

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