from django.contrib import admin
from admin_ordering.admin import OrderableAdmin
from .models import *

# Register your models here.


@admin.register(MBKB)
class MBKBModelAdmin(OrderableAdmin, admin.ModelAdmin):
    list_display = ['__str__', 'published', 'ordering']
    list_editable = ['ordering']
    ordering_field_hide_input = True
    exclude = ['ordering']
