blob: 1dc0f8646a7ec25cf2d21e0fb670c6203ff2bb2b [file] [log] [blame]
import os
import sys
def main(argv):
os.environ['DJANGO_SETTINGS_MODULE'] = "settings"
os.environ['DJANGO_IS_MANAGEMENT_COMMAND'] = '1'
from django.core.management import execute_from_command_line
execute_from_command_line(argv)
if __name__ == "__main__":
main(sys.argv)