2010-11-26 15:07:24 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# vi:si:et:sw=4:sts=4:ts=4
|
|
|
|
|
|
|
|
from django.contrib import admin
|
|
|
|
|
|
|
|
import models
|
|
|
|
|
|
|
|
|
|
|
|
class LayerAdmin(admin.ModelAdmin):
|
|
|
|
search_fields = ['name', 'title']
|
|
|
|
admin.site.register(models.Layer, LayerAdmin)
|
|
|
|
|
2010-11-28 16:03:23 +00:00
|
|
|
class AnnotationAdmin(admin.ModelAdmin):
|
|
|
|
search_fields = ['name', 'title']
|
|
|
|
admin.site.register(models.Annotation, AnnotationAdmin)
|
|
|
|
|