manage.py 355 B

123456789101112131415161718
  1. #!/usr/bin/env python
  2. """
  3. Command-line utility for administrative tasks.
  4. """
  5. import os
  6. import sys
  7. if __name__ == "__main__":
  8. os.environ.setdefault(
  9. "DJANGO_SETTINGS_MODULE",
  10. "DjangoWebProject1.settings"
  11. )
  12. from django.core.management import execute_from_command_line
  13. execute_from_command_line(sys.argv)