This commit is contained in:
@@ -100,7 +100,7 @@ class MultiDBModelAdmin(admin.ModelAdmin):
|
|||||||
class DeploymentDataAdmin(MultiDBModelAdmin):
|
class DeploymentDataAdmin(MultiDBModelAdmin):
|
||||||
list_display = ('name', 'namespace', 'schedule_week', 'schedule_day', 'replicas')
|
list_display = ('name', 'namespace', 'schedule_week', 'schedule_day', 'replicas')
|
||||||
list_filter = (ActiveAtHourFilter,)
|
list_filter = (ActiveAtHourFilter,)
|
||||||
actions = [scale_up_deploy,scale_down_deploy]
|
actions = [scale_up_deploy,scale_down_deploy,import_deployment_admin]
|
||||||
|
|
||||||
|
|
||||||
@admin.register(Schedule_Day_Data)
|
@admin.register(Schedule_Day_Data)
|
||||||
|
|||||||
Reference in New Issue
Block a user