from django.contrib import admin
from .models import Product

@admin.register(Product)
class ProductAdmin(admin.ModelAdmin):
    list_display = ('name', 'price', 'category', 'has_deposit')
    list_filter = ('category', 'has_deposit')
    search_fields = ('name',)