bornhack-website/src/manage.py

16 lines
317 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__":
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)