bug记录
zhegecsdn
这个作者很懒,什么都没留下…
展开
-
Django2.2启动报错TypeError: argument of type ‘WindowsPath‘ is not iterable
Python3.6.6,Django2.2,初次生成项目后报错TypeError: argument of type 'WindowsPath' is not iterable。报错原因是settings.py文件里DATABASES设置里NAME的设置代码:DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # 就是这边这一句报错 'NAME': BASE_D原创 2021-01-07 23:50:04 · 2438 阅读 · 0 评论 -
连接mysql报错 The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized
django使用mysql引擎连接mysql时报错:java.lang.RuntimeException: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than o...原创 2019-05-10 18:16:52 · 130 阅读 · 0 评论