Python之web开发(error):python使用django框架搭建网站之文件配置
生活随笔
收集整理的這篇文章主要介紹了
Python之web开发(error):python使用django框架搭建网站之文件配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
error list:
1.Error:please enable Django support for the project
2:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
1.Error:please enable Django support for the project
這個時候將點擊PyCharm左上角File
在配置Djange Tests時,需要設置Enable Django Support,設置相關內容如下:
Django project root: 選擇包含manage.py文件的目錄
Settings:選擇settings.py文件
2:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.
總結
以上是生活随笔為你收集整理的Python之web开发(error):python使用django框架搭建网站之文件配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python之web开发(四):pyth
- 下一篇: python之WEB开发:图片管理