from django.contrib import admin
from .models import Snack


# Register your models here.

@admin.register(Snack)
class AdminSnack(admin.ModelAdmin):
    list_display = ['title', 'purchaser', 'description']
    search_fields = ['purchaser']

from django.contrib import admin
from .models import Snack


# Register your models here.

@admin.register(Snack)
class AdminSnack(admin.ModelAdmin):
    list_display = ['title', 'purchaser', 'description']
    search_fields = ['purchaser']

# Register your models here.