<filename>hat/audit/admin.py
from django.contrib import admin
from .models import Modification


class ModificationAdmin(admin.ModelAdmin):
    date_hierarchy = "created_at"
    list_filter = ("content_type", "source")
    search_fields = ("user",)


admin.site.register(Modification, ModificationAdmin)

<filename>hat/audit/admin.py
from django.contrib import admin
from .models import Modification


class ModificationAdmin(admin.ModelAdmin):
    date_hierarchy = "created_at"
    list_filter = ("content_type", "source")
    search_fields = ("user",)


admin.site.register(Modification, ModificationAdmin)
