cablegates/pandora/event/admin.py

12 lines
213 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from django.contrib import admin
import models
2011-05-28 11:35:57 +00:00
class EventAdmin(admin.ModelAdmin):
search_fields = ['name']
2011-05-28 11:35:57 +00:00
admin.site.register(models.Event, EventAdmin)