| 12345678910111213 |
- from django.contrib import admin
- from apps.indicatortype.models import IndicatorType
- class IndicatorTypeAdmin(admin.ModelAdmin):
- fields = ('name', 'mark', 'regexp', 'hint')
- list_display = ('id', 'name', 'mark', 'regexp', 'hint')
- # search_fields = ('name',)
- # ordering = ('-created_date',)
- admin.site.register(IndicatorType, IndicatorTypeAdmin)
|