manage.py 298 B

1234567891011121314
  1. #!/usr/bin/env python
  2. import os
  3. import sys
  4. import dotenv
  5. if __name__ == "__main__":
  6. dotenv.read_dotenv()
  7. os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bakerydemo.settings.dev")
  8. from django.core.management import execute_from_command_line
  9. execute_from_command_line(sys.argv)