加载中...

摘要: 图片验证码captcha的使用 1.安装下载django-simple-captcha 通过pycharm和pip安装都可以 2.注册app 在项目的配置文件setting.py中的app中注册 INSTALLED_APPS = [ 'django.contrib.admin', 'django.c 阅读全文
posted @ 2022-06-24 20:58 最大的敌人是自律 阅读(93) 评论(0) 推荐(0)
摘要: 问题 TypeError: _getfullpathname: path should be string, bytes or os.PathLike, not tuple 在settings.py文件中,MEDIA_ROOT和STATIC_ROOT 变量的值都以逗号结尾,而 逗号会将这些变量的值从 阅读全文
posted @ 2022-06-24 18:42 最大的敌人是自律 阅读(597) 评论(0) 推荐(0)