old_contents: from django.contrib import admin
  
  from .models import Sponsor
  
  
  class SponsorAdmin(admin.ModelAdmin):
      fields = ('name', 'slug', 'type', 'about', 'url', 'image', 'is_active')
      prepopulated_fields = {'slug': ('name',)}
      list_display = ('name', 'type')
  
  
  admin.site.register(Sponsor, SponsorAdmin)
  
  
new_contents: from django.contrib import admin
  
  from .models import Sponsor
  
  
  class SponsorAdmin(admin.ModelAdmin):
      fields = ('name', 'slug', 'type', 'about', 'url', 'image', 'is_active')
      prepopulated_fields = {'slug': ('name',)}
      list_display = ('name', 'type', 'is_active')
  
  
  admin.site.register(Sponsor, SponsorAdmin)
  
  
subject: add active flag for sponsors admin