server/src/manage.py
author ymh <ymh.work@gmail.com>
Sat, 23 Jul 2016 00:35:42 +0200
changeset 85 3048f301b27b
parent 0 71a42c20fc86
permissions -rwxr-xr-x
Added tag 00.00.17 for changeset e1875fb5dac0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
#!/usr/bin/env python
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
import os
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
import sys
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
if __name__ == "__main__":
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "metaeducation.settings.dev")
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
    from django.core.management import execute_from_command_line
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
71a42c20fc86 first project structure
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
    execute_from_command_line(sys.argv)