old_contents: from django.contrib import admin
  from .models import Candidate
  
  class CandidateAdmin(admin.ModelAdmin):
      list_display = ('name', 'contact_address', 'constituency_name', 'party')
      list_filter = ('party', )
  
  admin.site.register(Candidate, CandidateAdmin)
  
new_contents: from django.contrib import admin
  from .models import Candidate
  
  class CandidateAdmin(admin.ModelAdmin):
      list_display = ('name', 'contact_address', 'constituency_name', 'party')
      list_filter = ('party', )
      search_fields = ('name', 'constituency_name', 'party')
  
  admin.site.register(Candidate, CandidateAdmin)
  
subject: Add candidate admin search fields.