public-health-ch/manage.py
2019-06-14 22:02:15 +02:00

13 lines
305 B
Python
Executable file

#!/usr/bin/env python
import os
import sys
from dotenv import load_dotenv
if __name__ == "__main__":
load_dotenv()
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "publichealth.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)