manage.py 312 B

123456789101112
  1. #!/usr/bin/env python
  2. import os
  3. import sys
  4. sys.path.append(os.path.abspath(os.path.join(__file__, '..', '..')))
  5. if __name__ == "__main__":
  6. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
  7. from django.core.management import execute_from_command_line
  8. execute_from_command_line(sys.argv)