src/manage.py
author cavaliet
Wed, 26 Mar 2014 12:50:13 +0100
changeset 31 df2ca7a612ac
parent 2 bafbf72652b9
permissions -rwxr-xr-x
enhance ref_text filter and update venv with ldt
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     1
#!/usr/bin/env python
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     2
import os
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     3
import sys
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     4
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     5
if __name__ == "__main__":
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     6
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "spel.settings")
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     7
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     8
    from django.core.management import execute_from_command_line
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     9
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    10
    execute_from_command_line(sys.argv)