from __future__ import absolute_import, unicode_literals
from django.contrib import admin
import logging


LOG = logging.getLogger(__name__)


class LogConfigurationAdmin(admin.ModelAdmin):

    list_filter = ("environment", "engine_type")

    list_display = ("environment", "engine_type", "retention_days",
                    "filer_path", "mount_point_path", "log_path")

from __future__ import absolute_import, unicode_literals
from django.contrib import admin
import logging


LOG = logging.getLogger(__name__)


class LogConfigurationAdmin(admin.ModelAdmin):

    list_filter = ("environment", "engine_type")

    list_display = ("environment", "engine_type", "retention_days",
                    "filer_path", "mount_point_path", "log_path",
                    "cron_minute", "cron_hour")

Add new fields on LogConfiguration model
Add new fields on LogConfiguration model

  from __future__ import absolute_import, unicode_literals
  from django.contrib import admin
  import logging
  
  
  LOG = logging.getLogger(__name__)
  
  
  class LogConfigurationAdmin(admin.ModelAdmin):
  
      list_filter = ("environment", "engine_type")
  
      list_display = ("environment", "engine_type", "retention_days",
-                     "filer_path", "mount_point_path", "log_path")
+                     "filer_path", "mount_point_path", "log_path",
+                     "cron_minute", "cron_hour")
  
Add new fields on LogConfiguration model
## Code Before:
from __future__ import absolute_import, unicode_literals
from django.contrib import admin
import logging


LOG = logging.getLogger(__name__)


class LogConfigurationAdmin(admin.ModelAdmin):

    list_filter = ("environment", "engine_type")

    list_display = ("environment", "engine_type", "retention_days",
                    "filer_path", "mount_point_path", "log_path")

## Instruction:
Add new fields on LogConfiguration model
## Code After:
from __future__ import absolute_import, unicode_literals
from django.contrib import admin
import logging


LOG = logging.getLogger(__name__)


class LogConfigurationAdmin(admin.ModelAdmin):

    list_filter = ("environment", "engine_type")

    list_display = ("environment", "engine_type", "retention_days",
                    "filer_path", "mount_point_path", "log_path",
                    "cron_minute", "cron_hour")
