|
|
@ -32,6 +32,7 @@ class TeamMemberAdmin(admin.ModelAdmin):
|
|
|
|
fields = ("id", "name", "url")
|
|
|
|
fields = ("id", "name", "url")
|
|
|
|
readonly_fields = ("id", "url")
|
|
|
|
readonly_fields = ("id", "url")
|
|
|
|
list_display = ("name", "shift_count")
|
|
|
|
list_display = ("name", "shift_count")
|
|
|
|
|
|
|
|
ordering = ("name",)
|
|
|
|
inlines = (FallbackAssignmentInline,)
|
|
|
|
inlines = (FallbackAssignmentInline,)
|
|
|
|
actions = (assign_random_shifts, clear_shifts) # , reshuffle_shifts)
|
|
|
|
actions = (assign_random_shifts, clear_shifts) # , reshuffle_shifts)
|
|
|
|
|
|
|
|
|
|
|
|