Fix UpperCamelcase
This commit is contained in:
parent
1f0a1b3fbf
commit
52241ec1ac
|
@ -9,13 +9,13 @@ def assign_random_shifts(modeladmin, request, queryset):
|
||||||
|
|
||||||
# Register your models here.
|
# Register your models here.
|
||||||
|
|
||||||
class FallbackAssignmentinline(admin.TabularInline):
|
class FallbackAssignmentInline(admin.TabularInline):
|
||||||
model = FallbackAssignment
|
model = FallbackAssignment
|
||||||
|
|
||||||
@admin.register(TeamMember)
|
@admin.register(TeamMember)
|
||||||
class TeamMemberAdmin(admin.ModelAdmin):
|
class TeamMemberAdmin(admin.ModelAdmin):
|
||||||
fields = ["name"]
|
fields = ["name"]
|
||||||
list_display = ["name"]
|
list_display = ["name"]
|
||||||
inlines = (FallbackAssignmentinline,)
|
inlines = (FallbackAssignmentInline,)
|
||||||
actions = (assign_random_shifts,)
|
actions = (assign_random_shifts,)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue