![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Pycharm
小花M
这个作者很懒,什么都没留下…
展开
-
Django 项目编码问题1UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xd2 in position 0: invalid contin
使用命令python manage.py runserver 运行服务器的时候出错了,具体代码表现为Performing system checks...System check identified no issues (0 silenced).You have 13 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, co原创 2021-02-14 02:10:10 · 1348 阅读 · 1 评论 -
Django1.10.3在python3.8报错:RuntimeError: __class__ not set defining ‘AbstractBaseUser‘ as...
在参考书中的例子(django使用的版本是1.10.3,python使用的是最新的3.8),django项目创建成功,进入项目文件夹中,使用python manage.py报runtimeerror错误:RuntimeError: class not set defining ‘AbstractBaseUser’ as <class ‘django.contrib.auth.base_user.AbstractBaseUser’>. Was classcell propagated to typ原创 2021-02-14 02:00:44 · 817 阅读 · 3 评论