from django.contrib import admin from .models import Stewardship, StewardBlessing, StewardSignal @admin.register(Stewardship) class StewardshipAdmin(admin.ModelAdmin): list_display = ("platform", "user_id", "status", "geohash", "target_bot", "expires_at", "updated_at") list_filter = ("platform", "status", "target_bot") search_fields = ("user_id", "geohash", "target_bot") @admin.register(StewardBlessing) class StewardBlessingAdmin(admin.ModelAdmin): list_display = ("geohash", "target_bot", "multiplier", "starts_at", "ends_at") list_filter = ("target_bot",) search_fields = ("geohash",) @admin.register(StewardSignal) class StewardSignalAdmin(admin.ModelAdmin): list_display = ("geohash", "target_bot", "kind", "created_at") list_filter = ("target_bot", "kind") search_fields = ("geohash", "note")