Merge branch 'master' of https://github.com/Pentabyteman/SaS
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
import sys
|
||||
import platform
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
if platform.system() == "Darwin":
|
||||
import pymysql
|
||||
pymysql.install_as_MySQLdb()
|
||||
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sas_web.settings")
|
||||
|
||||
from django.core.management import execute_from_command_line
|
||||
|
||||
Reference in New Issue
Block a user