Mercurial > public > sg101
view countdown/admin.py @ 1102:1a4f4a69e244
Membermap now uses new post box.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 06 Jul 2016 20:03:59 -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']