from django.contrib import admin
from opencivicdata.models import division as models


@admin.register(models.Division)
class DivisionAdmin(admin.ModelAdmin):
    list_display = ('display_name', 'id')
    search_fields = list_display


from django.contrib import admin
from opencivicdata.models import division as models


@admin.register(models.Division)
class DivisionAdmin(admin.ModelAdmin):
    list_display = ('name', 'id')
    search_fields = list_display


Update to reflect change of display_name --> name
Update to reflect change of display_name --> name
