# -*- coding: utf-8 -*- #!/usr/bin/env python import os import sys import xlrd PROJECT_ROOT = os.path.join(os.path.abspath(os.path.split(os.path.realpath(__file__))[0] + "/.."), '..') sys.path.insert(0, PROJECT_ROOT) os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'configs.testing') from script.base import init_env init_env(interactive = False) from apps.web.device.models import Device