From df86aa87ff2c5a1a71c58de8a2efd3a352634689 Mon Sep 17 00:00:00 2001 From: Luca Date: Sat, 13 May 2023 23:12:08 +0200 Subject: [PATCH] Disable 'reshuffle_shifts' action --- shiftregister/fallback/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiftregister/fallback/admin.py b/shiftregister/fallback/admin.py index 7089e54..a7ff404 100644 --- a/shiftregister/fallback/admin.py +++ b/shiftregister/fallback/admin.py @@ -32,7 +32,7 @@ class TeamMemberAdmin(admin.ModelAdmin): readonly_fields = ("id", "url") list_display = ("name", "shift_count") inlines = (FallbackAssignmentInline,) - actions = (assign_random_shifts, clear_shifts, reshuffle_shifts) + actions = (assign_random_shifts, clear_shifts) # , reshuffle_shifts) def shift_count(self, object): return object.fallback_shifts.count()