pandora/pandora/annotation/admin.py
2011-11-02 15:06:34 +01:00

12 lines
238 B
Python

# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from django.contrib import admin
import models
class AnnotationAdmin(admin.ModelAdmin):
search_fields = ['name', 'title']
admin.site.register(models.Annotation, AnnotationAdmin)