Fix filters order. Close #15

This commit is contained in:
Gabriel Augendre 2018-06-02 16:41:50 +02:00
parent dc9634fb5f
commit dcb783095c

View file

@ -45,7 +45,7 @@ class BookAdmin(ExportMixin, admin.ModelAdmin):
list_display = ['level', 'field', 'title', 'authors', 'editor', 'publication_year', 'isbn', list_display = ['level', 'field', 'title', 'authors', 'editor', 'publication_year', 'isbn',
'price', 'previously_acquired', 'teacher', 'done'] 'price', 'previously_acquired', 'teacher', 'done']
list_editable = ['done'] list_editable = ['done']
list_filter = ['done', 'editor', 'previously_acquired', 'teacher', 'level'] list_filter = ['done', 'previously_acquired', 'level', 'editor', 'teacher']
list_display_links = ['title'] list_display_links = ['title']
fieldsets = [ fieldsets = [
('Infos livre', { ('Infos livre', {