Skip to content
Snippets Groups Projects
Commit 5154a2b2 authored by Dylan Sechet's avatar Dylan Sechet
Browse files

Added filter to student admin

parent a23b0c7a
Branches
No related tags found
11 merge requests!58Hamza,!52Hamza,!54Add field "en attentes" in participations options,!51Hamza,!48Hamza,!45Hamza,!40Solve public permission files on AWS,!36Notifications for Sec-Gen,!34Dev-> Master (ordering students by updated_date, school filter, export_csv for visits),!31Sorties,!28Updated student admin filters
......@@ -47,7 +47,7 @@ class TutorAdmin(ProfileAdminMixin, admin.ModelAdmin,ExportCsvMixin):
@admin.register(Student)
class StudentAdmin(ProfileAdminMixin, admin.ModelAdmin,ExportCsvMixin):
"""Student admin panel."""
list_filter = (('school',MultiSelectFieldListFilter), 'year')
list_filter = (('school',MultiSelectFieldListFilter), 'year', 'registration__validated')
class Meta: # noqa
model = Student
actions = ["export_as_csv"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment