from django.contrib import admin
from .models import Post

@admin.register(Post)
class PostAdmin(admin.ModelAdmin):
    list_display = ('author', 'created_at', 'intent')
    list_filter = ('created_at', 'intent')
    search_fields = ('content', 'author__username')