from django.contrib import admin
from .models import Lead


@admin.register(Lead)
class LeadAdmin(admin.ModelAdmin):
    list_display = ("created_at", "organization", "name", "email", "phone", "source")
    list_filter = ("source", "organization")
    search_fields = ("name", "email", "phone", "subject", "message")

