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