django
dfy---Mia
这个作者很懒,什么都没留下…
展开
-
The empty path didn‘t match any of these. You‘re seeing this error because you have DEBUG = True in
python3.8 django3.0.0当你使用django和python出现下面的状况我的app的urls文件我的project中的urls文件的内容、解决的办法:app中的urls更改为我的project中的urls文件的内容更改为原创 2020-09-27 14:56:16 · 2014 阅读 · 8 评论 -
python django mysql 数据库转移是出现的错误
第一个错误:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.解决方案:修改D:\EXE\python\Lib\site-packages\Django-3.0-py3.7.egg\django\db\backends\mysql\base.py...原创 2019-08-20 14:57:54 · 215 阅读 · 0 评论 -
django 报错django.db.utils.InternalError: (1049, "Unknown database 'test'")
前提这两种情况是正常的:1.在mysql数据库创建相应的表名;create database 表名 charset=utf8;2.如果是以在数据库创建相应表名,可能在setting中写错,把’NAME’: “表名” ,改成相应的表名即可;如果本地安装了禅道使用的mysql端口为3306,想让使用的mysql端口为3306启动项目的时候就会提示django.db.utils.InternalEr...原创 2019-09-09 15:43:24 · 2431 阅读 · 0 评论