diff options
author | Alban Gruin | 2018-01-28 11:14:34 +0100 |
---|---|---|
committer | Alban Gruin | 2018-01-28 11:14:34 +0100 |
commit | 77a4b75431cfab7348db73b563dd005ce64be14a (patch) | |
tree | 850473bacc0a4b7203b5d7253a04c96baec9f3a8 /admin.py | |
parent | 7c73c8f900b86ebd58f48171cbd5284c29bdf840 (diff) |
Changements dans le formatage du code pour le rendre plus lisible
Diffstat (limited to 'admin.py')
-rw-r--r-- | admin.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# Copyright (C) 2017 Alban Gruin +# Copyright (C) 2017-2018 Alban Gruin # # celcatsanitizer is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published @@ -19,11 +19,13 @@ from .models import Course, Group, Room, Source, Timetable, Year def make_hidden(modeladmin, request, queryset): queryset.update(hidden=True) -make_hidden.short_description = "Cacher les groupes sélectionnés" def make_visible(modeladmin, request, queryset): queryset.update(hidden=False) + + +make_hidden.short_description = "Cacher les groupes sélectionnés" make_visible.short_description = "Afficher les groupes sélectionnés" |