from django.contrib import admin

# Register your models here.
class foodAdmin(admin.ModelAdmin):
    list_filter=['available']
class categoryAdmin(admin.ModelAdmin):
    list_filter=['name']

from api.models import Category,Food,Order
admin.site.register(Food,foodAdmin)
admin.site.register(Category,categoryAdmin)
admin.site.register(Order)
3f2c6a39a394a22f2b6c5a1adab4b0a7dbcae9a1
<mask token>


class foodAdmin(admin.ModelAdmin):
    <mask token>


class categoryAdmin(admin.ModelAdmin):
    list_filter = ['name']


<mask token>

<mask token>


class foodAdmin(admin.ModelAdmin):
    list_filter = ['available']


class categoryAdmin(admin.ModelAdmin):
    list_filter = ['name']


<mask token>

<mask token>


class foodAdmin(admin.ModelAdmin):
    list_filter = ['available']


class categoryAdmin(admin.ModelAdmin):
    list_filter = ['name']


<mask token>
admin.site.register(Food, foodAdmin)
admin.site.register(Category, categoryAdmin)
admin.site.register(Order)

from django.contrib import admin


class foodAdmin(admin.ModelAdmin):
    list_filter = ['available']


class categoryAdmin(admin.ModelAdmin):
    list_filter = ['name']


from api.models import Category, Food, Order
admin.site.register(Food, foodAdmin)
admin.site.register(Category, categoryAdmin)
admin.site.register(Order)

from django.contrib import admin

# Register your models here.
class foodAdmin(admin.ModelAdmin):
    list_filter=['available']
class categoryAdmin(admin.ModelAdmin):
    list_filter=['name']

from api.models import Category,Food,Order
admin.site.register(Food,foodAdmin)
admin.site.register(Category,categoryAdmin)
admin.site.register(Order)