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.
|
||||
|
||||
class FallbackAssignmentinline(admin.TabularInline):
|
||||
class FallbackAssignmentInline(admin.TabularInline):
|
||||
model = FallbackAssignment
|
||||
|
||||
@admin.register(TeamMember)
|
||||
class TeamMemberAdmin(admin.ModelAdmin):
|
||||
fields = ["name"]
|
||||
list_display = ["name"]
|
||||
inlines = (FallbackAssignmentinline,)
|
||||
inlines = (FallbackAssignmentInline,)
|
||||
actions = (assign_random_shifts,)
|
||||
|
||||
|
|
Loading…
Reference in New Issue