bornhack-website/src/manage.py

13 lines
295 B
Python
Raw Normal View History

2015-10-03 01:07:05 +00:00
#!/usr/bin/env python
import os
import sys
2017-08-28 19:54:04 +00:00
sys.path.append(os.path.dirname(__file__))
2015-10-03 01:07:05 +00:00
if __name__ == "__main__":
2019-06-16 12:32:24 +00:00
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bornhack.settings")
2015-10-03 01:07:05 +00:00
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)