bgneal@1081: from django.contrib import admin bgneal@1081: bgneal@1081: from .models import Event bgneal@1081: bgneal@1081: bgneal@1081: @admin.register(Event) bgneal@1081: class EventAdmin(admin.ModelAdmin): bgneal@1081: list_display = ['__unicode__', 'is_active'] bgneal@1081: list_editable = ['is_active']