摘要: 国际化setting配置 LANGUAGE_CODE = 'zh-hans'TIME_ZONE = 'Asia/Shanghai'USE_I18N = TrueUSE_L10N = TrueUSE_TZ = Falsesetting中间件 MIDDLEWARE = [ 'django.middlew 阅读全文
posted @ 2019-10-23 23:56 灰色轨迹8554 阅读(133) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/bainianminguo/p/10674396.html 阅读全文
posted @ 2019-10-23 16:53 灰色轨迹8554 阅读(119) 评论(0) 推荐(0)
摘要: from testcase1 import countimport unittestclass MyTest(unittest.TestCase): def setUp(self): print('test start') def tearDown(self): print('test end')c 阅读全文
posted @ 2019-10-23 09:04 灰色轨迹8554 阅读(163) 评论(0) 推荐(0)