Update manage.py
This commit is contained in:
@@ -5,8 +5,7 @@ import platform
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
operating_system = platform.platform
|
if platform.system() = "Darwin":
|
||||||
if operating_system.startswith( "Darwin" ):
|
|
||||||
import pymysql
|
import pymysql
|
||||||
pymysql.install_as_MySQLdb()
|
pymysql.install_as_MySQLdb()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user