from django.contrib import admin
from .models import Event

@admin.register(Event)
class EventAdmin(admin.ModelAdmin):
    list_display = ('artist_name', 'venue_name', 'date', 'city', 'status', 'age_restriction')
    list_filter = ('status', 'city', 'date', 'age_restriction')
    search_fields = ('artist_name', 'venue_name', 'city')