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",
|
2016-11-22 20:04:06 +00:00
|
|
|
"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)
|