错误
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'
导入
import MySQLdb
出错
去找MySQLdb的替代模块,pymysql不行!
最后
在__init__()
添加下面两行
错误
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named 'MySQLdb'
导入
import MySQLdb
出错
去找MySQLdb的替代模块,pymysql不行!
最后
在__init__()
添加下面两行
一、幾個基本概念 登錄用戶(login user):通過登錄方式進入系統的用戶,強調登錄身份。 當前用戶(current user):執行一個進程或者命令時所使用的用戶身份,強調執行身份。 舉