Schule als Staat Projekt Web, Dokumente, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
429B

  1. #!/usr/bin/env python3
  2. import os
  3. import sys
  4. import import platform
  5. if __name__ == "__main__":
  6. operating_system = platform.platform
  7. if operating_system.startswith( "Darwin" ):
  8. import pymysql
  9. pymysql.install_as_MySQLdb()
  10. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sas_web.settings")
  11. from django.core.management import execute_from_command_line
  12. execute_from_command_line(sys.argv)