diff --git a/.gitignore b/.gitignore index 2b8b9e3..8d0e00e 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ atlassian-* __pycache__ .venv/ build +.vscode diff --git a/sample_project/samples/admin.py b/sample_project/samples/admin.py index 6947e46..3761995 100644 --- a/sample_project/samples/admin.py +++ b/sample_project/samples/admin.py @@ -85,8 +85,8 @@ class ProjectAdmin(SortableAdmin): CreditInline, NoteInline, GenericNoteInline, NonSortableCreditInline, NonSortableNoteInline ] - list_display = ['__str__', 'category'] - list_filter = ('category__title',) + list_display = ['__str__', 'category', 'isApproved',] + list_filter = ('category__title', 'isApproved',) after_sorting_js_callback_name = 'afterSortCallback' search_fields = ['title'] sortable_change_list_template = 'adminsortable/custom_change_list.html'