|
from django.contrib import admin
|
|
from apps.qm.models import TestItem
|
|
# Register your models here.
|
|
|
|
|
|
@admin.register(TestItem)
|
|
class TestItemAdmin(admin.ModelAdmin):
|
|
date_hierarchy = 'create_time'
|
|
list_display = ('id', 'name', 'tags', 'mcate_tags', 'field_type', 'choices')
|