server/src/manage.py
author durandn
Tue, 04 Oct 2016 14:59:01 +0200
changeset 121 5b51b2124e99
parent 0 71a42c20fc86
permissions -rwxr-xr-x
Added tag 00.00.20 for changeset e5706c9561f8
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)