public-health-ch/manage.py

14 lines
305 B
Python
Raw Normal View History

#!/usr/bin/env python
import os
import sys
2019-06-14 20:02:15 +00:00
from dotenv import load_dotenv
if __name__ == "__main__":
2019-06-14 20:02:15 +00:00
load_dotenv()
2016-12-09 05:13:01 +00:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "publichealth.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)