new_contents: #!/usr/bin/env python
  # vim: ai ts=4 sts=4 et sw=4 encoding=utf-8
  
  from django.contrib import admin
  from locations.models import Location, LocationType
  
  class LocationAdmin(admin.ModelAdmin):
      model = Location
  
  class LocationTypeAdmin(admin.ModelAdmin):
      model = LocationType
  
  admin.site.register(Location, LocationAdmin)
  admin.site.register(LocationType, LocationTypeAdmin)
  
  
subject: add admin for locations