list updated
This commit is contained in:
parent
b04c16f5d4
commit
2fd4dcf548
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue