Flatten project hierarchy, moving djano applications out of htsworkflow.frontend...
[htsworkflow.git] / bcmagic / admin.py
1 from django.contrib import admin
2 from .models import KeywordMap, Printer
3
4 class KeywordMapAdmin(admin.ModelAdmin):
5     list_display = ('keyword','regex', 'url_template')
6
7 class PrinterAdmin(admin.ModelAdmin):
8     list_display = ('name', 'model', 'ip_address', 'label_shape', 'label_width', 'label_height', 'notes')
9     
10 admin.site.register(KeywordMap, KeywordMapAdmin)
11 admin.site.register(Printer, PrinterAdmin)