diff --git a/apps/users/admin.py b/apps/users/admin.py index e37452d..60f26bf 100644 --- a/apps/users/admin.py +++ b/apps/users/admin.py @@ -103,7 +103,7 @@ class StudentAdmin(ImportExportModelAdmin): autocomplete_fields = ('user',) resource_class = StudentResource readonly_fields = ('hostel_checkin_time', 'hostel_checkout_time', 'last_checkout_time',) - list_filter = ('hostel', 'has_booked', 'violation_flags') + list_filter = ('hostel', YearWiseFilter,'has_booked', 'violation_flags') class SecurityAdmin(admin.ModelAdmin): list_display = ('name', 'admin_incharge', 'user')