view countdown/admin.py @ 1192:980123d47763

Fix link to queues fork.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Mar 2022 15:53:41 -0500
parents 654b55ad9134
children
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']
    list_filter = ['is_active']
    ordering = ['-event_date']