12 lines
295 B
Python
12 lines
295 B
Python
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from django.contrib import admin
|
||
|
|
|
||
|
|
from control_plane.events.models import Event
|
||
|
|
|
||
|
|
|
||
|
|
@admin.register(Event)
|
||
|
|
class EventAdmin(admin.ModelAdmin):
|
||
|
|
list_display = ("event_type", "project", "task", "actor", "created_at")
|
||
|
|
list_filter = ("event_type", "actor")
|