#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8

from django.contrib import admin
from .models import Location

class LocationAdmin(admin.ModelAdmin):
    model = Location

admin.site.register(Location, LocationAdmin)

#!/usr/bin/env python
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8

from django.contrib import admin
from .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)

add an admin for location type