from django.contrib import admin

from inventory.models import FormFactor


class FormFactorAdmin(admin.ModelAdmin):
    readonly_fields = ['created_at', 'changed_at']
    search_fields = ['name', 'description']
    list_display = ['name', 'description']
    filter_horizontal = ('tags',)


admin.site.register(FormFactor, FormFactorAdmin)
