view countdown/admin.py @ 1097:deed541ca79d

Get rid of GCalendar thanks pages.
author Brian Neal <bgneal@gmail.com>
date Sun, 26 Jun 2016 21:27:31 -0500
parents ecb8f07d937b
children 654b55ad9134
line wrap: on
line source
from django.contrib import admin

from .models import Event


@admin.register(Event)
class EventAdmin(admin.ModelAdmin):
    list_display = ['__unicode__', 'is_active']
    list_editable = ['is_active']