from django.contrib import admin
from category.models import Category

# Register your models here.


class AdminCategory(admin.ModelAdmin):
    list_display = ['title','parent', 'status', 'created', 'updated']
    list_editable = ['status','parent']
    search_fields = ['title']

    class Meta:
        models = Category


admin.site.register(Category, AdminCategory)
