from django.contrib import admin
from .models import Agent

# Register your models here.

@admin.register(Agent)
class AgentAdmin(admin.ModelAdmin):
    list_display = ('name', 'user', 'published', 'created_at')
    list_filter = ('published', 'user')
    search_fields = ('name', 'description')