comparison countdown/admin.py @ 1081:ecb8f07d937b

Added countdown application.
author Brian Neal <bgneal@gmail.com>
date Sun, 24 Apr 2016 12:27:26 -0500
parents
children 654b55ad9134
comparison
equal deleted inserted replaced
1080:db8f5b3204b7 1081:ecb8f07d937b
1 from django.contrib import admin
2
3 from .models import Event
4
5
6 @admin.register(Event)
7 class EventAdmin(admin.ModelAdmin):
8 list_display = ['__unicode__', 'is_active']
9 list_editable = ['is_active']