1 from django.contrib import admin
2 from htsworkflow.frontend.bcmagic.models import KeywordMap, Printer
4 class KeywordMapAdmin(admin.ModelAdmin):
5 list_display = ('keyword','regex', 'url_template')
7 class PrinterAdmin(admin.ModelAdmin):
8 list_display = ('name', 'model', 'ip_address', 'label_shape', 'label_width', 'label_height', 'notes')
10 admin.site.register(KeywordMap, KeywordMapAdmin)
11 admin.site.register(Printer, PrinterAdmin)