old_contents: from django.contrib import admin
  
  from .models import Metric
  
  
  @admin.register(Metric)
  class MetricAdmin(admin.ModelAdmin):
      list_display = ['name', 'source_name', 'type']
      list_filter = ['type']
  
new_contents: from django.contrib import admin
  
  from .models import Metric
  
  
  @admin.register(Metric)
  class MetricAdmin(admin.ModelAdmin):
      list_display = ['id', 'name', 'source_name', 'type', 'tooltip', 'description']
      list_editable = list_display
      list_filter = ['type']
  
subject: Make admin metrics batch editable