# -*- coding: utf-8 -*- from apps.base import ExcelImporter class DeviceImporter(ExcelImporter): fields = { u'名称': (True, ExcelImporter.formatUnicode), u'编号': (True, ExcelImporter.formatUnicode), u'设备型号': (True, ExcelImporter.formatUnicode), u'小地点': (True, ExcelImporter.formatUnicode), u'大地点': (True, ExcelImporter.formatUnicode), }