Optimize TeamMember admin view
This commit is contained in:
parent
df86aa87ff
commit
d3da06a145
|
@ -24,6 +24,7 @@ def reshuffle_shifts(modeladmin, request, queryset):
|
|||
class FallbackAssignmentInline(admin.TabularInline):
|
||||
model = FallbackAssignment
|
||||
ordering = ("shift__start_at",)
|
||||
readonly_fields = ("shift",)
|
||||
|
||||
|
||||
@admin.register(TeamMember)
|
||||
|
|
Loading…
Reference in New Issue