tpotce/collector/CollectorAPI/admin.py

12 lines
260 B
Python
Raw Normal View History

2024-06-05 07:52:53 +00:00
from django.contrib import admin
from .models import HoneyPotServer
# Register your models here.
@admin.register(HoneyPotServer)
class HoneyPotServerAdmin(admin.ModelAdmin):
ordering = ['id']
list_display = ('name', 'ip', 'isActive', 'last_input')