butler_ddochi/ansible_manager/admin.py
icurfer ea11832a53
Some checks failed
Build And Test / build-and-push (push) Failing after 53s
init
2024-12-13 17:12:03 +09:00

9 lines
254 B
Python

from django.contrib import admin
from .models import AnsibleJob
@admin.register(AnsibleJob)
class AnsibleTaskAdmin(admin.ModelAdmin):
list_display = ('name', 'status', 'owner', 'created_at', 'updated_at')
readonly_fields = ('status', 'result')