2020-04-26 19:46:58 +02:00
|
|
|
from django.contrib import admin
|
2020-04-26 22:25:58 +02:00
|
|
|
from .models import Identity, Task
|
2020-04-26 19:46:58 +02:00
|
|
|
|
|
|
|
|
2024-02-25 11:24:42 +01:00
|
|
|
@admin.register(Identity)
|
2020-04-26 19:46:58 +02:00
|
|
|
class IdentityAdmin(admin.ModelAdmin):
|
|
|
|
fields = ['identity', 'name', 'notes', 'heartbeat']
|
|
|
|
|
|
|
|
|
2024-02-25 11:24:42 +01:00
|
|
|
@admin.register(Task)
|
2020-04-26 19:46:58 +02:00
|
|
|
class TaskAdmin(admin.ModelAdmin):
|
2020-05-31 12:16:09 +02:00
|
|
|
fields = ['stream', 'type', 'config_id', 'configuration', 'claimed_by']
|
2020-04-26 19:46:58 +02:00
|
|
|
|
|
|
|
|