from django.contrib import admin
-from htsworkflow.frontend.bcmagic.models import KeywordMap
+from htsworkflow.frontend.bcmagic.models import KeywordMap, Printer
class KeywordMapAdmin(admin.ModelAdmin):
list_display = ('keyword','regex', 'url_template')
-admin.site.register(KeywordMap, KeywordMapAdmin)
\ No newline at end of file
+class PrinterAdmin(admin.ModelAdmin):
+ list_display = ('name', 'model', 'ip_address', 'label_shape', 'label_width', 'label_height', 'notes')
+
+admin.site.register(KeywordMap, KeywordMapAdmin)
+admin.site.register(Printer, PrinterAdmin)
\ No newline at end of file