from django.contrib import admin 
from django.utils.translation import ugettext_lazy as _
from open_municipio.locations.models import Location


class LocationAdmin(admin.ModelAdmin):
    pass

admin.site.register(Location, LocationAdmin)

from django.contrib import admin 
from django.utils.translation import ugettext_lazy as _
from open_municipio.locations.models import Location


class LocationAdmin(admin.ModelAdmin):
    list_display = ('name', 'count')

admin.site.register(Location, LocationAdmin)

Add a column for count field
Add a column for count field
  from django.contrib import admin 
  from django.utils.translation import ugettext_lazy as _
  from open_municipio.locations.models import Location
  
  
  class LocationAdmin(admin.ModelAdmin):
-     pass
+     list_display = ('name', 'count')
  
  admin.site.register(Location, LocationAdmin)
  
Add a column for count field
## Code Before:
from django.contrib import admin 
from django.utils.translation import ugettext_lazy as _
from open_municipio.locations.models import Location


class LocationAdmin(admin.ModelAdmin):
    pass

admin.site.register(Location, LocationAdmin)

## Instruction:
Add a column for count field
## Code After:
from django.contrib import admin 
from django.utils.translation import ugettext_lazy as _
from open_municipio.locations.models import Location


class LocationAdmin(admin.ModelAdmin):
    list_display = ('name', 'count')

admin.site.register(Location, LocationAdmin)
