2015-03-19 20:10:00 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2016-09-07 19:02:31 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'myapp.settings')
|
2015-03-19 20:10:00 +00:00
|
|
|
|
|
|
|
from django.core.management import execute_from_command_line
|
|
|
|
|
|
|
|
execute_from_command_line(sys.argv)
|