convert to unicode_literals
[htsworkflow.git] / bcmagic / admin.py
1 from __future__ import unicode_literals
2
3 from django.contrib import admin
4 from .models import KeywordMap, Printer
5
6
7 class KeywordMapAdmin(admin.ModelAdmin):
8     list_display = ('keyword', 'regex', 'url_template')
9
10
11 class PrinterAdmin(admin.ModelAdmin):
12     list_display = ('name', 'model', 'ip_address', 'label_shape',
13                     'label_width', 'label_height', 'notes')
14
15
16 admin.site.register(KeywordMap, KeywordMapAdmin)
17 admin.site.register(Printer, PrinterAdmin)